Commit 1ce90011 by Torkel Ödegaard Committed by GitHub

upgrade of typescript and tslint and jest (#13223)

parent 28250271
module.exports = { module.exports = {
verbose: false, verbose: false,
"globals": {
"ts-jest": {
"tsConfigFile": "tsconfig.json"
}
},
"transform": { "transform": {
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js" "^.+\\.(ts|tsx)$": "ts-jest"
}, },
"moduleDirectories": ["node_modules", "public"], "moduleDirectories": ["node_modules", "public"],
"roots": [ "roots": [
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
"expect.js": "~0.2.0", "expect.js": "~0.2.0",
"expose-loader": "^0.7.3", "expose-loader": "^0.7.3",
"file-loader": "^1.1.11", "file-loader": "^1.1.11",
"fork-ts-checker-webpack-plugin": "^0.4.2", "fork-ts-checker-webpack-plugin": "^0.4.9",
"gaze": "^1.1.2", "gaze": "^1.1.2",
"glob": "~7.0.0", "glob": "~7.0.0",
"grunt": "1.0.1", "grunt": "1.0.1",
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
"html-webpack-harddisk-plugin": "^0.2.0", "html-webpack-harddisk-plugin": "^0.2.0",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^3.2.0",
"husky": "^0.14.3", "husky": "^0.14.3",
"jest": "^22.0.4", "jest": "^23.6.0",
"lint-staged": "^6.0.0", "lint-staged": "^6.0.0",
"load-grunt-tasks": "3.5.2", "load-grunt-tasks": "3.5.2",
"mini-css-extract-plugin": "^0.4.0", "mini-css-extract-plugin": "^0.4.0",
...@@ -80,12 +80,12 @@ ...@@ -80,12 +80,12 @@
"style-loader": "^0.21.0", "style-loader": "^0.21.0",
"systemjs": "0.20.19", "systemjs": "0.20.19",
"systemjs-plugin-css": "^0.1.36", "systemjs-plugin-css": "^0.1.36",
"ts-jest": "^22.4.6", "ts-jest": "^23.1.4",
"ts-loader": "^4.3.0", "ts-loader": "^5.1.0",
"tslib": "^1.9.3", "tslib": "^1.9.3",
"tslint": "^5.8.0", "tslint": "^5.8.0",
"tslint-loader": "^3.5.3", "tslint-loader": "^3.5.3",
"typescript": "^2.6.2", "typescript": "^3.0.3",
"uglifyjs-webpack-plugin": "^1.2.7", "uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^4.8.0", "webpack": "^4.8.0",
"webpack-bundle-analyzer": "^2.9.0", "webpack-bundle-analyzer": "^2.9.0",
...@@ -133,6 +133,7 @@ ...@@ -133,6 +133,7 @@
"angular-native-dragdrop": "1.2.2", "angular-native-dragdrop": "1.2.2",
"angular-route": "1.6.6", "angular-route": "1.6.6",
"angular-sanitize": "1.6.6", "angular-sanitize": "1.6.6",
"babel-jest": "^23.6.0",
"babel-polyfill": "^6.26.0", "babel-polyfill": "^6.26.0",
"baron": "^3.0.3", "baron": "^3.0.3",
"brace": "^0.10.0", "brace": "^0.10.0",
......
...@@ -6,7 +6,6 @@ exports[`TeamPicker renders correctly 1`] = ` ...@@ -6,7 +6,6 @@ exports[`TeamPicker renders correctly 1`] = `
> >
<div <div
className="Select gf-form-input gf-form-input--form-dropdown is-clearable is-loading is-searchable Select--single" className="Select gf-form-input gf-form-input--form-dropdown is-clearable is-loading is-searchable Select--single"
style={undefined}
> >
<div <div
className="Select-control" className="Select-control"
...@@ -15,7 +14,6 @@ exports[`TeamPicker renders correctly 1`] = ` ...@@ -15,7 +14,6 @@ exports[`TeamPicker renders correctly 1`] = `
onTouchEnd={[Function]} onTouchEnd={[Function]}
onTouchMove={[Function]} onTouchMove={[Function]}
onTouchStart={[Function]} onTouchStart={[Function]}
style={undefined}
> >
<span <span
className="Select-multi-value-wrapper" className="Select-multi-value-wrapper"
...@@ -36,14 +34,9 @@ exports[`TeamPicker renders correctly 1`] = ` ...@@ -36,14 +34,9 @@ exports[`TeamPicker renders correctly 1`] = `
> >
<input <input
aria-activedescendant="react-select-2--value" aria-activedescendant="react-select-2--value"
aria-describedby={undefined}
aria-expanded="false" aria-expanded="false"
aria-haspopup="false" aria-haspopup="false"
aria-label={undefined}
aria-labelledby={undefined}
aria-owns="" aria-owns=""
className={undefined}
id={undefined}
onBlur={[Function]} onBlur={[Function]}
onChange={[Function]} onChange={[Function]}
onFocus={[Function]} onFocus={[Function]}
...@@ -55,7 +48,6 @@ exports[`TeamPicker renders correctly 1`] = ` ...@@ -55,7 +48,6 @@ exports[`TeamPicker renders correctly 1`] = `
"width": "5px", "width": "5px",
} }
} }
tabIndex={undefined}
value="" value=""
/> />
<div <div
......
...@@ -6,7 +6,6 @@ exports[`UserPicker renders correctly 1`] = ` ...@@ -6,7 +6,6 @@ exports[`UserPicker renders correctly 1`] = `
> >
<div <div
className="Select gf-form-input gf-form-input--form-dropdown is-clearable is-loading is-searchable Select--single" className="Select gf-form-input gf-form-input--form-dropdown is-clearable is-loading is-searchable Select--single"
style={undefined}
> >
<div <div
className="Select-control" className="Select-control"
...@@ -15,7 +14,6 @@ exports[`UserPicker renders correctly 1`] = ` ...@@ -15,7 +14,6 @@ exports[`UserPicker renders correctly 1`] = `
onTouchEnd={[Function]} onTouchEnd={[Function]}
onTouchMove={[Function]} onTouchMove={[Function]}
onTouchStart={[Function]} onTouchStart={[Function]}
style={undefined}
> >
<span <span
className="Select-multi-value-wrapper" className="Select-multi-value-wrapper"
...@@ -36,14 +34,9 @@ exports[`UserPicker renders correctly 1`] = ` ...@@ -36,14 +34,9 @@ exports[`UserPicker renders correctly 1`] = `
> >
<input <input
aria-activedescendant="react-select-2--value" aria-activedescendant="react-select-2--value"
aria-describedby={undefined}
aria-expanded="false" aria-expanded="false"
aria-haspopup="false" aria-haspopup="false"
aria-label={undefined}
aria-labelledby={undefined}
aria-owns="" aria-owns=""
className={undefined}
id={undefined}
onBlur={[Function]} onBlur={[Function]}
onChange={[Function]} onChange={[Function]}
onFocus={[Function]} onFocus={[Function]}
...@@ -55,7 +48,6 @@ exports[`UserPicker renders correctly 1`] = ` ...@@ -55,7 +48,6 @@ exports[`UserPicker renders correctly 1`] = `
"width": "5px", "width": "5px",
} }
} }
tabIndex={undefined}
value="" value=""
/> />
<div <div
......
...@@ -6,7 +6,7 @@ exports[`Render should render component 1`] = ` ...@@ -6,7 +6,7 @@ exports[`Render should render component 1`] = `
> >
<a <a
className="sidemenu-link" className="sidemenu-link"
href="login?redirect=blank" href="login?redirect=%2F"
target="_self" target="_self"
> >
<span <span
...@@ -18,7 +18,7 @@ exports[`Render should render component 1`] = ` ...@@ -18,7 +18,7 @@ exports[`Render should render component 1`] = `
</span> </span>
</a> </a>
<a <a
href="login?redirect=blank" href="login?redirect=%2F"
target="_self" target="_self"
> >
<ul <ul
......
...@@ -66,7 +66,6 @@ exports[`ServerStats Should render table with stats 1`] = ` ...@@ -66,7 +66,6 @@ exports[`ServerStats Should render table with stats 1`] = `
<a <a
className="gf-tabs-link active" className="gf-tabs-link active"
href="Admin" href="Admin"
target={undefined}
> >
<i <i
className="icon" className="icon"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment