Skip to content

Commit bde8a36

Browse files
build(deps-dev): bump the jest group across 1 directory with 4 updates (#5209)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent e1452d9 commit bde8a36

18 files changed

+1014
-1068
lines changed

jest.config.js

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
const transformIgnorePatterns = [
2-
'@emotion\/.*',
3-
'@mui\/.*',
4-
'd3',
5-
'd3-dag',
6-
'history',
7-
'http-proxy-middleware',
8-
'install',
9-
'jest-canvas-mock',
10-
'js-sha3',
11-
'js-yaml',
12-
'lodash',
13-
'luxon',
14-
'mnemonic-browser',
15-
'postcss',
16-
'react',
17-
'react-.*',
18-
'remark-gfm',
19-
'styled-components',
20-
].join('|');
2+
"@emotion\/.*",
3+
"@mui\/.*",
4+
"d3",
5+
"d3-dag",
6+
"history",
7+
"http-proxy-middleware",
8+
"install",
9+
"jest-canvas-mock",
10+
"js-sha3",
11+
"js-yaml",
12+
"lodash",
13+
"luxon",
14+
"mnemonic-browser",
15+
"postcss",
16+
"react",
17+
"react-.*",
18+
"remark-gfm",
19+
"styled-components",
20+
].join("|");
2121

2222
/** @type {import('jest').Config} */
2323
const config = {
@@ -42,6 +42,9 @@ const config = {
4242
setupFilesAfterEnv: ["<rootDir>/setup-jest.ts"],
4343
modulePathIgnorePatterns: ["<rootDir>/dist/"],
4444
testEnvironment: "jsdom",
45+
testEnvironmentOptions: {
46+
url: "http://localhost",
47+
},
4548
};
4649

4750
export default config;

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,26 +94,26 @@
9494
"@testing-library/jest-dom": "^6.6.3",
9595
"@testing-library/react": "^16.3.0",
9696
"@types/babel__preset-env": "^7",
97-
"@types/jest": "^29.5.14",
97+
"@types/jest": "^30.0.0",
9898
"@types/js-yaml": "^4",
9999
"@types/lodash": "^4.17.20",
100100
"@types/luxon": "^3.7.1",
101101
"@types/react": "^19.1.8",
102102
"@types/react-dom": "^19.1.6",
103103
"@types/react-is": "^19",
104-
"babel-jest": "^29.7.0",
104+
"babel-jest": "^30.2.0",
105105
"babel-plugin-styled-components": "^2.1.4",
106106
"buffer": "^6.0.3",
107107
"eslint": "9.37.0",
108108
"eslint-plugin-import": "^2.32.0",
109109
"eslint-plugin-react": "^7.37.5",
110110
"eslint-plugin-react-hooks": "5.2.0",
111-
"jest": "^29.7.0",
112-
"jest-environment-jsdom": "^29.7.0",
111+
"jest": "^30.2.0",
112+
"jest-environment-jsdom": "^30.2.0",
113113
"jest-fail-on-console": "^3.3.1",
114114
"jest-styled-components": "^7.2.0",
115115
"jest-transformer-svg": "^2.1.0",
116-
"jest-worker": "^29.7.0",
116+
"jest-worker": "^30.2.0",
117117
"jsdom": "^26.0.0",
118118
"parcel": "^2.15.4",
119119
"prettier": "^3.6.2",

setup-jest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ import failOnConsole from 'jest-fail-on-console'
44
global.TextEncoder = TextEncoder;
55
global.TextDecoder = TextDecoder as typeof global.TextDecoder;
66

7-
failOnConsole()
7+
failOnConsole()

ui/components/DataTable/__tests__/__snapshots__/DataTable.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`DataTable snapshots renders 1`] = `
44
<DocumentFragment>

ui/components/Sync/__tests__/__snapshots__/SyncActions.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`SyncActions snapshots hideSyncOptions 1`] = `
44
<DocumentFragment>

ui/components/Sync/__tests__/__snapshots__/SyncControls.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`SyncControls snapshots allButtonsDisabled 1`] = `
44
<DocumentFragment>

ui/components/__tests__/__snapshots__/Flex.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`Flex snapshots align 1`] = `
44
<DocumentFragment>

ui/components/__tests__/__snapshots__/Footer.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`Footer snapshots default 1`] = `
44
.c0 {

ui/components/__tests__/__snapshots__/KubeStatusIndicator.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`KubeStatusIndicator snapshots renders error 1`] = `
44
<DocumentFragment>

ui/components/__tests__/__snapshots__/Logo.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`Logo snapshots renders collapsed view 1`] = `
44
<DocumentFragment>

0 commit comments

Comments
 (0)