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
define(function () { | |
var testFn = function(){ | |
console.log( 'before timeout ' + Date.now() ); | |
setTimeout(function(){ | |
console.log( 'after timeout ' + Date.now() ); | |
}, 2000); | |
}; | |
var obj = { | |
'/session/end': function(wd){ |
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
define( | |
[ | |
'intern/node_modules/dojo/node!intern/node_modules/wd/node_modules/request' | |
], | |
function (request) { | |
// NOTE: For proper testing multiple unit tests in multiple environments, | |
// set `maxConcurrency` to **1**. | |
// NOTE: For now you can't start testing with a nested test. |