Skip to content

Commit c8dd043

Browse files
bhovhannescitizensas
authored andcommitted
chore: remove dependency from whatwg-fetch because it is brought by isomorphic-fetch
1 parent f418d7c commit c8dd043

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

karma.conf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ module.exports = function (config) {
1818
// list of files / patterns to load in the browser
1919
files: [
2020
'node_modules/es6-promise/dist/es6-promise.auto.min.js',
21-
'node_modules/whatwg-fetch/fetch.js',
2221
'test/test-bundle.js'
2322
],
2423

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"es6-promise": "4.2.5",
1919
"form-data": "2.3.2",
2020
"isomorphic-fetch": "2.2.1",
21-
"whatwg-fetch": "^2.0.4",
2221
"tslib": "1.9.3",
2322
"workfront-api-constants": "2.0.0"
2423
},
@@ -40,21 +39,21 @@
4039
"karma-remap-coverage": "0.1.5",
4140
"karma-sauce-launcher": "1.2.0",
4241
"karma-sourcemap-loader": "0.3.7",
43-
"karma-webpack": "3.0.4",
44-
"lint-staged": "7.2.2",
42+
"karma-webpack": "3.0.5",
43+
"lint-staged": "7.3.0",
4544
"mocha": "5.2.0",
4645
"phantomjs-prebuilt": "2.1.16",
47-
"prettier": "1.14.2",
46+
"prettier": "1.14.3",
4847
"semver": "5.5.1",
4948
"should": "13.2.3",
50-
"ts-loader": "5.1.0",
49+
"ts-loader": "5.1.1",
5150
"tslint": "5.11.0",
5251
"tslint-config-prettier": "1.15.0",
5352
"tslint-loader": "3.6.0",
5453
"typedoc": "0.12.0",
5554
"typescript": "3.0.3",
5655
"uuid": "3.3.2",
57-
"webpack": "4.17.2",
56+
"webpack": "4.19.1",
5857
"webpack-cli": "3.1.0"
5958
},
6059
"scripts": {

test/test-bundle.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
'use strict'
22

3+
require('isomorphic-fetch')
4+
35
// require all modules ending in ".spec.js", ".spec.ts" from the
46
// current directory and all subdirectories
57
var testsContext = require.context('.', true, /\.spec\.[t]s$/)

0 commit comments

Comments
 (0)