Closed blikblum closed 6 years ago
I have no clue about ava (test runner) and windows.
Tests are divided into two groups :
I did this for some reasons. The script npm test
does not exist for that fact.
The prebuild test launch the following command, does this work on windows ?
./node_modules/.bin/ava --match 'trans -*' --match 'src -*'
Running
npm run test:prebuild
Gives the error:
1 exception
× Couldn't find any matching tests
The same error occurs with
.\node_modules\.bin\ava.cmd --match 'trans -*' --match 'src -*'
Seems that ava is not finding the test files
Under linux the tests are run:
39 passed
The .only() modifier is used in some tests. 20 tests were not run
So seems a issue with ava and windows
EDIT: upgrading ava to 0.23 does not helps
Trying to set a snabbdom-pragma development env:
Forked develop branch
Installed dependencies (yarn)
Tried to run test (
npm test
): no script foundTried to run test:prebuild (
npm run test:prebuild
): 1 exception× Couldn't find any matching tests
The same error occurs with
npm run test:postbuild
Running under windows 10, node v6.9