V
V
Vitaly2016-11-24 20:43:49
Node.js
Vitaly, 2016-11-24 20:43:49

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

1 answer(s)
A
Alexey Yarkov, 2016-11-24
@vitali1995

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 question

Ask a Question

731 491 924 answers to any question