The "nutra-jasmine-preset" module makes available the jasmine behavior-driven testing framework and the commonjs module loader to the N.U.T.R.A. unit test runner.
npm install nutra nutra-jasmine-preset
Create a "nutra.config.js" config file in the root of your project and populate it with the following:
// nutra.config.js
module.exports = function( config ) {
config.set({
frameworks: ['nutra-jasmine'],
files: ['specs/**/*.js', 'src/**/*.js'] // Modify to include your own app & spec files
})
// For more configuration options, please take a look at:
// https://github.com/m-a-r-c-e-l-i-n-o/nutra#configuration-anatomy
}