Skip to content

Instantly share code, notes, and snippets.

@jsheridanwells
Created June 19, 2018 15:26
Show Gist options
  • Save jsheridanwells/9cbf7c0a3a876729a7d1900000af5e36 to your computer and use it in GitHub Desktop.
Save jsheridanwells/9cbf7c0a3a876729a7d1900000af5e36 to your computer and use it in GitHub Desktop.
Setting up Karma Test Runner

Setting up Karma Test Runner

Installation

$ npm install karma

or

$ npm -g install karma

$ karma init will start config file

files = [] will load app files

autoWatch: true will watch code

browsers = ['Chrome']

$ karma karma.conf.js will execute the unit tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment