You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module('Some Demo tests',{beforeEach: function(){// F.open('/'); console.log('First Demo BeforeEach Called');returntrue;},afterEach: function(){return;}});test('A simple demo with FuncUnit',function(){F('body').visible('it shows the body');});
It works fine in Chrome 39 but does not work in Phantomjs 1.9.8.
I'm using the grunt-contrib-qunit to start Phantomjs to test this. It always timed out.
If I add F.open('/') in the beforeEach function it works. Please help me find out what causes this problem? Is there any workaround?
The text was updated successfully, but these errors were encountered:
Hello, is funcunit still active? This is a great tool, but I have a problem when using it under phantomjs.
Here is the sample code in
demo.test.html
fileThe demo.test.js file is very simple.
It works fine in Chrome 39 but does not work in Phantomjs 1.9.8.
I'm using the grunt-contrib-qunit to start Phantomjs to test this. It always timed out.
If I add
F.open('/')
in the beforeEach function it works. Please help me find out what causes this problem? Is there any workaround?The text was updated successfully, but these errors were encountered: