Skip to content

Instantly share code, notes, and snippets.

@victornswd
Created June 14, 2013 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save victornswd/5781481 to your computer and use it in GitHub Desktop.
Save victornswd/5781481 to your computer and use it in GitHub Desktop.
Intern custom reporter that isn't working as expected.
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){
return testFn();
}
};
return obj;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment