Closed Vadorequest closed 4 years ago
hi @Vadorequest
can you try running NODE_ENV=test jest --group=utils --watchAll
? Does it help?
$ NODE_ENV=test jest --group=utils --watchAll
● Validation Error:
Jest Runner groups cannot be found. Make sure the runner configuration option points to an existing node module.
Doesn't seem to change anything.
@Vadorequest which version of jest do you use?
✔ npx envinfo --preset jest
npx: installed 1 in 1.495s
System:
OS: macOS 10.15.4
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Binaries:
Node: 14.3.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.4 - /usr/local/bin/npm
npmPackages:
jest: 26.0.1 => 26.0.1
@eugene-manuilov Any idea what's wrong? Stills stuck on this 😞
To reproduce:
git clone https://github.com/UnlyEd/next-right-now.git nrn-quick-start
cd nrn-quick-start && git checkout test-groups
yarn test:group:utils
Ah, my bad. Doing NODE_ENV=test jest --group=utils --watchAll
actually just worked out. 🤔
I must have done it wrong last time when you told me to try with =
instead of space.
I'll try a bit more and close this if it's solved!
No worries, @Vadorequest! Glad it works for you! :yay:
Running
NODE_ENV=test jest --group utils --watchAll
yields. I tried various variations likejest --group utils
, but all yield the same.Commit: https://github.com/UnlyEd/next-right-now/pull/91/files
jest.config.js
:To reproduce:
git clone https://github.com/UnlyEd/next-right-now.git nrn-quick-start
cd nrn-quick-start && git checkout test-groups
yarn test:group:utils