Created
December 10, 2015 11:14
-
-
Save just-boris/720011b9686704c67f52 to your computer and use it in GitHub Desktop.
Jasmine Program API
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
var jasmine = new Jasmine(); | |
jasmine.loadConfig({ | |
spec_dir: 'src', | |
spec_files: [ | |
'js/**/*.spec.js' | |
], | |
helpers: ['spec/bootstrap.js'] | |
}); | |
jasmine.onComplete(function(passed) { | |
done(passed ? null : 'Some tests has been failed'); | |
}); | |
jasmine.execute(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment