Answer the question
In order to leave comments, you need to log in
How to test node.js?
Trying to start testing with Jasmine. All of the tutorials show the describe method, but don't show how to wire it up. They seem to not connect it at all, but I get the error ReferenceError: describe is not defined.
Answer the question
In order to leave comments, you need to log in
https://semaphoreci.com/community/tutorials/gettin...
Pay attention to the line:
"scripts": {
"test": "./node_modules/.bin/jasmine-node spec"
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question