Skip to content

Instantly share code, notes, and snippets.

@nickserv
Last active March 18, 2017 22:16
Show Gist options
  • Save nickserv/a256f0556ea20e77e5650e041acf1ade to your computer and use it in GitHub Desktop.
Save nickserv/a256f0556ea20e77e5650e041acf1ade to your computer and use it in GitHub Desktop.
karma-edge-launcher Example
node_modules
module.exports = function (config) {
config.set({
browsers: ['Edge'],
files: ['spec.js'],
frameworks: ['jasmine'],
singleRun: true
})
}
{
"private": true,
"scripts": {
"test": "karma start"
},
"devDependencies": {
"jasmine-core": "*",
"karma": "*",
"karma-edge-launcher": "*",
"karma-jasmine": "*"
}
}
describe('A suite', function () {
it('contains spec with an expectation', function () {
expect(true).toBe(true)
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment