|
|
|
|
@ -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; });
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|