Last active
August 27, 2015 10:08
-
-
Save sveneh/9c589d321e6fc31f7460 to your computer and use it in GitHub Desktop.
Protractor fails a pending spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"spec_dir": ".", | |
"spec_files": [ | |
"pending.spec.js" | |
], | |
"helpers": [ | |
"helpers/**/*.js" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.config = { | |
framework: 'jasmine2', | |
specs: [ | |
'pending.spec.js' | |
], | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('a spec with pending', function() { | |
it('should be pending', function() { | |
pending('This is pending.'); | |
}); | |
xit('should be also pending', function() { | |
expect(true).toBe(true); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
put jasmine.json in spec/support