Skip to content

Instantly share code, notes, and snippets.

@sdeering
Created December 19, 2013 06:00
Show Gist options
  • Save sdeering/8035033 to your computer and use it in GitHub Desktop.
Save sdeering/8035033 to your computer and use it in GitHub Desktop.
Use grunt connect to make the karma test coverage directory browseable.
coverage: {
options: {
// required for output on index.html base filepath
base: __dirname + 'test/coverage/',
// required to override base to make the directory browseable
directory: __dirname + 'test/coverage/',
port: '5555',
keepalive: true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment