1
0
Fork 0

chore(deps): update dependency file-loader to v1 (#297)

* chore(deps): update dependency file-loader to v1

* installing missing package stack-utils

* adding requested request package

* adding requested jest package

* fixing test

* freezing outdated tests => TODO
This commit is contained in:
renovate[bot] 2018-07-31 16:23:38 +02:00 committed by Sylvain Pace
parent fd304f5d2b
commit e998849462
5 changed files with 3928 additions and 3928 deletions

View file

@ -27,7 +27,7 @@
"dependencies": {
"clean-css-cli": "^4.1.6",
"css-loader": "^1.0.0",
"file-loader": "^0.11.2",
"file-loader": "^1.0.0",
"style-loader": "^0.21.0",
"url-loader": "^1.0.0"
}

View file

@ -31,7 +31,7 @@
"babel-loader": "7.1.5",
"css-loader": "1.0.0",
"extract-loader": "2.0.1",
"file-loader": "0.11.2",
"file-loader": "1.1.11",
"html-loader": "0.5.5",
"html-webpack-plugin": "2.30.1",
"json-loader": "0.5.7",

7836
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -57,8 +57,8 @@
"eslint-plugin-jest": "21.18.0",
"eslint-plugin-prettier": "2.6.2",
"gh-pages": "1.2.0",
"jest": "23.4.2",
"jsdom": "11.12.0",
"jest": "^21.2.1",
"jsdom": "^11.12.0",
"json": "9.0.6",
"mversion": "1.12.0",
"node-sass": "4.9.2",
@ -77,6 +77,13 @@
"algoliasearch": "^3.24.5",
"autocomplete.js": "^0.30.0",
"hogan.js": "^3.0.2",
"to-factory": "^1.0.0"
"request": "^2.87.0",
"stack-utils": "^1.0.1",
"to-factory": "^1.0.0",
"zepto": "^1.2.0"
},
"jest": {
"verbose": true,
"testURL": "http://localhost/"
}
}

View file

@ -4,9 +4,8 @@ import sinon from 'sinon';
import $ from '../zepto.js';
import DocSearch from '../DocSearch.js';
Object.defineProperty(window.location, 'href', {
value: 'your url',
configurable: true,
writable: true,
value: 'some url',
});
describe('DocSearch', () => {