Merge pull request #920 from spotify/eide/bump-jest-26

Bump to jest 26.0.1
This commit is contained in:
Marcus Eide
2020-05-19 15:15:39 +02:00
committed by GitHub
24 changed files with 936 additions and 60 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
"@testing-library/jest-dom": "^5.7.0",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^10.2.4",
"@types/jest": "^25.2.1",
"@types/jest": "^25.2.2",
"@types/jquery": "^3.3.34",
"@types/node": "^12.0.0",
"@types/react-router-dom": "^5.1.3",
+1 -1
View File
@@ -40,7 +40,7 @@
"@types/yaml": "^1.9.7",
"get-port": "^5.1.1",
"http-errors": "^1.7.3",
"jest": "^25.1.0",
"jest": "^26.0.1",
"jest-fetch-mock": "^3.0.3",
"supertest": "^4.0.2",
"typescript": "^3.9.2"
+1 -1
View File
@@ -35,7 +35,7 @@
"@types/express": "^4.17.6",
"@types/express-serve-static-core": "^4.17.5",
"@types/helmet": "^0.0.47",
"jest": "^25.1.0",
"jest": "^26.0.1",
"tsc-watch": "^4.2.3",
"typescript": "^3.9.2",
"winston": "^3.2.1"
+2 -1
View File
@@ -51,7 +51,8 @@
"handlebars": "^4.7.3",
"html-webpack-plugin": "^3.2.0",
"inquirer": "^7.0.4",
"jest": "^25.1.0",
"jest": "^26.0.1",
"ts-jest": "^26.0.0",
"jest-css-modules": "^2.1.0",
"jest-esm-transformer": "^1.0.0",
"mini-css-extract-plugin": "^0.9.0",
@@ -19,7 +19,7 @@
"@testing-library/jest-dom": "^5.7.0",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^10.2.4",
"@types/jest": "^25.2.1",
"@types/jest": "^25.2.2",
"@types/node": "^12.0.0",
"@types/react-router-dom": "^5.1.3",
"@types/testing-library__jest-dom": "^5.0.4",
@@ -35,7 +35,7 @@
"@testing-library/jest-dom": "^5.7.0",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^10.2.4",
"@types/jest": "^25.2.1",
"@types/jest": "^25.2.2",
"@types/node": "^12.0.0",
"@types/testing-library__jest-dom": "^5.0.4",
"jest-fetch-mock": "^3.0.3"
+1 -1
View File
@@ -33,7 +33,7 @@
"@material-ui/icons": "^4.9.1",
"@types/classnames": "^2.2.9",
"@types/google-protobuf": "^3.7.2",
"@types/jest": "^25.2.1",
"@types/jest": "^25.2.2",
"@types/node": "^12.0.0",
"@types/react-helmet": "^5.0.15",
"@types/react-sparklines": "^1.7.0",
+3 -3
View File
@@ -74,7 +74,7 @@ export const Sidebar: FC<Props> = ({
}) => {
const classes = useStyles();
const [state, setState] = useState(State.Closed);
const hoverTimerRef = useRef<NodeJS.Timer>();
const hoverTimerRef = useRef<number>();
const handleOpen = () => {
if (hoverTimerRef.current) {
@@ -82,7 +82,7 @@ export const Sidebar: FC<Props> = ({
hoverTimerRef.current = undefined;
}
if (state !== State.Open) {
hoverTimerRef.current = setTimeout(() => {
hoverTimerRef.current = window.setTimeout(() => {
hoverTimerRef.current = undefined;
setState(State.Open);
}, openDelayMs);
@@ -99,7 +99,7 @@ export const Sidebar: FC<Props> = ({
if (state === State.Peek) {
setState(State.Closed);
} else if (state === State.Open) {
hoverTimerRef.current = setTimeout(() => {
hoverTimerRef.current = window.setTimeout(() => {
hoverTimerRef.current = undefined;
setState(State.Closed);
}, closeDelayMs);
+1 -1
View File
@@ -37,7 +37,7 @@
"@testing-library/jest-dom": "^5.7.0",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^10.2.4",
"@types/jest": "^25.2.1",
"@types/jest": "^25.2.2",
"@types/node": "^12.0.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
+1 -1
View File
@@ -30,7 +30,7 @@
"dependencies": {
"@testing-library/jest-dom": "^5.7.0",
"@testing-library/react": "^9.3.2",
"@types/jest": "^25.2.1",
"@types/jest": "^25.2.2",
"@types/node": "^12.0.0",
"react": "^16.12.0",
"react-dom": "^16.12.0"
+1 -1
View File
@@ -35,7 +35,7 @@
"@testing-library/jest-dom": "^5.7.0",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^10.2.4",
"@types/jest": "^25.2.1",
"@types/jest": "^25.2.2",
"@types/node": "^12.0.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",