Skip to content

Commit

Permalink
Merge pull request bugsnag#198 from bugsnag/fix-test-watching
Browse files Browse the repository at this point in the history
Fix tests not reloading when using watch mode
  • Loading branch information
foxyblocks authored Oct 6, 2016
2 parents 7f7c354 + d49d4c6 commit 2171682
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
6 changes: 3 additions & 3 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ module.exports = function(config) {
"mocha-ie-legacy"
],
files: [
{ pattern: "src/bugsnag.js", watched: true, included: false, served: true },
{ pattern: "test/**/*", watched: true, included: false, served: true },
"test/assert.js",
"test/stub.js",
"test/test.bugsnag.js"
"test/test.bugsnag.js",
{ pattern: "src/bugsnag.js", watched: true, included: false, served: true },
{ pattern: "test/**/*", watched: true, included: false, served: true }
],
proxies: {
"/": "/base/test/",
Expand Down
60 changes: 30 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"name": "bugsnag-js",
"version": "3.0.5",
"main": "src/bugsnag.js",
"scripts": {
"test": "karma start --single-run",
"test:watch": "karma start --browsers PhantomJS",
"test:quick": "karma start --single-run --browsers PhantomJS"
},
"repository": {
"type": "git",
"url": "https://github.com/bugsnag/bugsnag-js"
},
"devDependencies": {
"eslint": "^3.4.0",
"grunt": "~0.4.2",
"grunt-bumpx": "~0.1.0",
"grunt-contrib-watch": "~0.5.2",
"grunt-docco": "~0.4.0",
"grunt-invalidate-cloudfront": "~0.1.4",
"grunt-regex-replace": "~0.2.5",
"grunt-s3": "git://github.com/pifantastic/grunt-s3",
"gruntify-eslint": "^1.3.0",
"karma": "^1.1.2",
"karma-mocha-ie-legacy": "file:./test/karma-mocha",
"karma-phantomjs-launcher": "^1.0.1",
"karma-sauce-launcher": "^1.0.0",
"mocha": "~1.15.1",
"uglifyjs": "latest"
}
}
"name": "bugsnag-js",
"version": "3.0.5",
"main": "src/bugsnag.js",
"scripts": {
"test": "karma start --single-run",
"test:watch": "karma start --browsers PhantomJS",
"test:quick": "karma start --single-run --browsers PhantomJS"
},
"repository": {
"type": "git",
"url": "https://github.com/bugsnag/bugsnag-js"
},
"devDependencies": {
"eslint": "^3.4.0",
"grunt": "~0.4.2",
"grunt-bumpx": "~0.1.0",
"grunt-contrib-watch": "~0.5.2",
"grunt-docco": "~0.4.0",
"grunt-invalidate-cloudfront": "~0.1.4",
"grunt-regex-replace": "~0.2.5",
"grunt-s3": "git://github.com/pifantastic/grunt-s3",
"gruntify-eslint": "^1.3.0",
"karma": "^1.3.0",
"karma-mocha-ie-legacy": "file:./test/karma-mocha",
"karma-phantomjs-launcher": "^1.0.1",
"karma-sauce-launcher": "^1.0.0",
"mocha": "~1.15.1",
"uglifyjs": "latest"
}
}

0 comments on commit 2171682

Please sign in to comment.