Closed Coteh closed 2 years ago
Does your package.json have "type": "module"
in it?
It does not, no. And if I put that in, same error occurs.
Will be fixed by #30 once @pygy revisits it. (I just don't have the time ATM.)
At long last this is fixed. Sorry for the delay
Platform: Windows 10, 64 bit Node: v14.17.0 NPM: 6.14.13 ospec: 4.1.1
Reproduction Steps
npm install --save-dev ospec
package.json
toospec
tests/mytest.spec.js
with following:Expected
Just a message saying 0 assertions passed
Actual
0 assertions passed, with 1 assertion bailed out with following: (note: I altered the name of the project directory in output)
A possible workaround is to downgrade Node.js to v10.15.2, but perhaps this should be investigated to allow for support on newer versions as well.