|
@@ -19,8 +19,8 @@ module Docs
|
|
|
HTML
|
|
HTML
|
|
|
|
|
|
|
|
def get_latest_version(opts)
|
|
def get_latest_version(opts)
|
|
|
- doc = fetch_doc('https://jestjs.io/docs/en/getting-started', opts)
|
|
|
|
|
- doc.at_css('header > a > h3').content
|
|
|
|
|
|
|
+ doc = get_latest_github_release('facebook', 'jest', opts)
|
|
|
end
|
|
end
|
|
|
|
|
+
|
|
|
end
|
|
end
|
|
|
end
|
|
end
|