Last active
August 29, 2015 14:20
-
-
Save igordeoliveirasa/6ff4a86b93fd4c57ba00 to your computer and use it in GitHub Desktop.
Configuring Karma & Jasmine
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
mkdir tests | |
echo " | |
describe(\"A suite\", function() { | |
it(\"contains spec with an expectation\", function() { | |
expect(true).toBe(true); | |
}); | |
}); | |
" > tests/test.spec.js | |
npm install karma --save-dev | |
npm install angular-mocks | |
karma init karma.config.js | |
echo "Open karma.config.js and configure the files[]" | |
echo "To run: karma start karma.conf.js" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment