Skip to content

Instantly share code, notes, and snippets.

@ryanwebjackson
Created September 26, 2017 20:57
Show Gist options
  • Save ryanwebjackson/81136ac8cb8c1d250d00ef8afc86845d to your computer and use it in GitHub Desktop.
Save ryanwebjackson/81136ac8cb8c1d250d00ef8afc86845d to your computer and use it in GitHub Desktop.
//This only run testA
describe('Spec1', function () {
// Method is 'fit' "Focus it" in Jasmine version 2.
iit('testA', function () {
...
});
it('testB', function () {
...
});
});
//Source: https://stackoverflow.com/questions/8527786/how-do-i-focus-on-one-spec-in-jasmine-js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment