eradicate all per-file eslint globals

This commit is contained in:
Zeke Sikelianos 2016-03-30 14:56:30 -07:00 committed by Kevin Sawicki
parent aadc0bee25
commit 7c58f7fb02
15 changed files with 17 additions and 33 deletions

View file

@ -1,5 +1,3 @@
/* globals fetch */
const assert = require('assert')
const path = require('path')
const webFrame = require('electron').webFrame
@ -10,7 +8,7 @@ describe('webFrame module', function () {
it('supports fetch api', function (done) {
webFrame.registerURLSchemeAsPrivileged('file')
var url = 'file://' + fixtures + '/assets/logo.png'
fetch(url).then(function (response) {
window.fetch(url).then(function (response) {
assert(response.ok)
done()
}).catch(function (err) {