Add test 🖊️

Jonathan Frederic 11 years ago
parent 0c8315f72d
commit 4e93079fe3

@ -20,4 +20,16 @@ casper.notebook_test(function () {
}, input);
this.test.assertEquals(result, output, "IPython.utils.fixConsole() handles [0m correctly");
this.thenEvaluate(function() {
define('a', [], function() { window.a = true; });
define('c', [], function() { window.c = true; });
require(['base/js/utils'], function(utils) {
utils.load_extensions('a', 'b', 'c');
});
});
this.waitFor(function() {
return this.evaluate(function() { return window.a && window.c; });
});
});

Loading…
Cancel
Save