question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support jest@test version

See original GitHub issue
  • Issue

It would be cool if you upgrade your Jest peerDependency to the latest test version of Jest. At the moment I’m getting "ts-jest#jest@^20.0.0" doesn't satisfy found match of "jest@20.1.0-delta.4"

The reason for trying out the latest delta version is this issue https://github.com/facebook/jest/pull/4088 that I am encountering all the time.

Thanks ☺️

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
gdbortoncommented, Aug 29, 2017

@kulshekhar You can test the semver values here - https://semver.npmjs.com/

"^20.0.0 || > 21.0.0-alpha || > 20.1.0-alpha" matches everything in 20.x, 20.1 prereleases, and current 21.0 prereleases.

Sadly npm doesn’t seem to have a simple way of saying match > 20.x.x-alpha.

0reactions
pelotomcommented, Aug 29, 2017

From here,

If a version has a prerelease tag (for example, 1.2.3-alpha.3) then it will only be allowed to satisfy comparator sets if at least one comparator with the same [major, minor, patch] tuple also has a prerelease tag.

The current jest@test is up to v21.0.0-beta.1, so I think we need to use a version range of

"jest": "^20.0.0 >=21.0.0-beta.1"
Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started - Jest
You just successfully wrote your first test using Jest! This test used expect and toBe to test that two values were exactly identical....
Read more >
Jest CLI Options
You can run jest --help to view all available options. ... If you run Jest via npm test , you can still use...
Read more >
Jest · Delightful JavaScript Testing
Jest is a delightful JavaScript Testing Framework with a focus on simplicity. ... Make tests which keep track of large objects with ease....
Read more >
Getting Started - Jest
For up-to-date documentation, see the latest version (29.3). ... source map support for Jest that lets you use Jest to test projects written ......
Read more >
Configuring Jest
Version : 29.3 ... This option tells Jest that all imported modules in your tests should ... Public methods of `utils` are now...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found