Skip to content

Commit

Permalink
chore: remove dependency from whatwg-fetch because it is brought by i…
Browse files Browse the repository at this point in the history
…somorphic-fetch
  • Loading branch information
bhovhannes authored and citizensas committed May 29, 2021
1 parent f418d7c commit c8dd043
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ module.exports = function (config) {
// list of files / patterns to load in the browser
files: [
'node_modules/es6-promise/dist/es6-promise.auto.min.js',
'node_modules/whatwg-fetch/fetch.js',
'test/test-bundle.js'
],

Expand Down
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"es6-promise": "4.2.5",
"form-data": "2.3.2",
"isomorphic-fetch": "2.2.1",
"whatwg-fetch": "^2.0.4",
"tslib": "1.9.3",
"workfront-api-constants": "2.0.0"
},
Expand All @@ -40,21 +39,21 @@
"karma-remap-coverage": "0.1.5",
"karma-sauce-launcher": "1.2.0",
"karma-sourcemap-loader": "0.3.7",
"karma-webpack": "3.0.4",
"lint-staged": "7.2.2",
"karma-webpack": "3.0.5",
"lint-staged": "7.3.0",
"mocha": "5.2.0",
"phantomjs-prebuilt": "2.1.16",
"prettier": "1.14.2",
"prettier": "1.14.3",
"semver": "5.5.1",
"should": "13.2.3",
"ts-loader": "5.1.0",
"ts-loader": "5.1.1",
"tslint": "5.11.0",
"tslint-config-prettier": "1.15.0",
"tslint-loader": "3.6.0",
"typedoc": "0.12.0",
"typescript": "3.0.3",
"uuid": "3.3.2",
"webpack": "4.17.2",
"webpack": "4.19.1",
"webpack-cli": "3.1.0"
},
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions test/test-bundle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict'

require('isomorphic-fetch')

// require all modules ending in ".spec.js", ".spec.ts" from the
// current directory and all subdirectories
var testsContext = require.context('.', true, /\.spec\.[t]s$/)
Expand Down

0 comments on commit c8dd043

Please sign in to comment.