Unified · Split
| @@ -19,8 +19,8 @@ module Docs · 18 unmodified lines | |||
| 19 | HTML | 19 | HTML |
| 20 | 20 | ||
| 21 | def get_latest_version(opts) | 21 | def get_latest_version(opts) |
| 22 | doc = fetch_doc('https://jestjs.io/docs/en/getting-started', opts) | 22 | doc = get_latest_github_release('facebook', 'jest', opts) |
| 23 | doc.at_css('header > a > h3').content | ||
| 24 | end | 23 | end |
| 24 | |||
| 25 | end | 25 | end |
| 26 | end | 26 | end |