We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the following test:
if(typeof protractor == typeof dsgbrefkjsbd) { protractor = require('selenium-webdriver'); } var q = require('q'); describe('unwrap promises', function() { it('webdriver', function() { expect(7).toBe(protractor.promise.fulfilled(9)); }); it('q', function() { expect(7).toBe(q(9)); }); });
The webdriver case fails (as it should) but the q case passes (as it shouldn't).
webdriver
q
I am running this test using the file:
var JasmineRunner = require('jasmine'); var jrunner = new JasmineRunner(); require('jasminewd2'); jrunner.addSpecFile('/usr/local/google/home/sjelin/t/s.js'); jrunner.execute();
Bizarrely, the q promise is correctly unwrapped if the spec file is run via protractor instead of pure node.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the following test:
The
webdriver
case fails (as it should) but theq
case passes (as it shouldn't).I am running this test using the file:
Bizarrely, the
q
promise is correctly unwrapped if the spec file is run via protractor instead of pure node.The text was updated successfully, but these errors were encountered: