node.js |
|
---|---|
Using Jasmine with nodeThe Jasmine node package contains helper code for developing and running Jasmine tests for node-based projects. |
|
InstallYou can install Jasmine using npm, locally in your project and globally to use the CLI tool. |
npm install -D jasmine
npm install -g jasmine
|
Init a ProjectInitialize a project for Jasmine by creating a spec directory and configuration json for you. |
jasmine init
|
ConfigurationCustomize |
|
UsageOnce you have set up your |
jasmine
|