Merge pull request #6584 from jhamrick/fix-js-tests

Fix ReferenceError in js tests
This commit is contained in:
Matthias Bussonnier 2014-10-01 10:05:18 +02:00
commit 2eba8ee216

View File

@ -50,7 +50,7 @@ casper.open_new_notebook = function () {
casper.page_loaded = function() {
// Return whether or not the kernel is running.
return this.evaluate(function() {
return IPython !== undefined &&
return typeof IPython !== "undefined" &&
IPython.page !== undefined;
});
};