Skip to content

Commit

Permalink
Compatibility with newer eslint-plugin-github
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Dec 6, 2018
1 parent 899b155 commit 1821b74
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Expand Up @@ -26,7 +26,8 @@
"globals": {
"assert": true,
"chai": true,
"FileReaderSync": true
"FileReaderSync": true,
"Mocha": true
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -10,7 +10,7 @@
"abortcontroller-polyfill": "^1.1.9",
"chai": "^4.1.2",
"eslint": "^4.19.1",
"eslint-plugin-github": "^1.0.0",
"eslint-plugin-github": "^1.6.0",
"karma": "^3.0.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Expand Up @@ -253,7 +253,7 @@ exercise.forEach(function(exerciseMode) {
})
test('throws TypeError on invalid character in field name', function() {
assert.throws(function() {
new Headers({'<Accept>': 'application/json'})
new Headers({'[Accept]': 'application/json'})
}, TypeError)
assert.throws(function() {
new Headers({'Accept:': 'application/json'})
Expand Down
2 changes: 0 additions & 2 deletions test/worker-adapter.js
@@ -1,5 +1,3 @@
/* global Mocha */

var mochaRun = mocha.run
mocha.run = function() {}

Expand Down

0 comments on commit 1821b74

Please sign in to comment.