##// END OF EJS Templates
Fix an issue in the `kernel_running` function of the JS tests,...
Jonathan Frederic -
Show More
@@ -58,7 +58,10 b' casper.page_loaded = function() {'
58 casper.kernel_running = function() {
58 casper.kernel_running = function() {
59 // Return whether or not the kernel is running.
59 // Return whether or not the kernel is running.
60 return this.evaluate(function() {
60 return this.evaluate(function() {
61 return IPython.notebook.kernel.is_connected();
61 return IPython &&
62 IPython.notebook &&
63 IPython.notebook.kernel &&
64 IPython.notebook.kernel.is_connected();
62 });
65 });
63 };
66 };
64
67
General Comments 0
You need to be logged in to leave comments. Login now