This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// tests/intern.js | |
define({ | |
environments: [ { browserName: 'chrome' } ], | |
tunnel: 'NullTunnel', | |
functionalSuites: [ 'tests/functional' ], | |
excludeInstrumentation: /^(?:tests|node_modules)\// | |
}); | |
// tests/functional.js | |
define([ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// tests/cjs.js -- AMD module to load CJS tests | |
define(function (require) { | |
var registerSuite = require('intern!object'); | |
var testLoader = require('dojo/node!./cjs/all'); | |
testLoader(registerSuite); | |
}); | |
// tests/cjs/all.js -- CJS module that loads individual CJS test suites | |
module.exports = function (registerSuite) { | |
require('./unit.js')(registerSuite); |