Open ppissanetzky opened 9 years ago
The same holds when a spec file exists but has broken syntax.
$ echo '"' > test-spec.js && jasmine-node test-spec.js; echo $?
Exception loading: /Users/gagern/src/up/jasmine-node/test-spec.js
[SyntaxError: Unexpected token ILLEGAL]
0
Observed for 1.14.3 and 2.0.0-beta4.
This issue undermines the use of jasmine-node in Docker test containers. I came across this while writing tests with https://github.com/stackwork/stackwork for an API project.
@Krijger In https://github.com/Khan/KaTeX/pull/387 I found out that jasmine itself supports node. So to me the jasmine-node package appears deprecated.
If that is the case, a statement to that effect in a prominent place in the README might help. Perhaps even a new release with a new major version which either forwards everything to jasmine itself, or informs users that this package is no longer needed.