Skip to content

Commit bcd9576

Browse files
authored
Address high vulnerabilities (#712)
* address high vulnerabilities * fix msw after update * update browser list db * update build command
1 parent ffffe49 commit bcd9576

File tree

5 files changed

+182
-204
lines changed

5 files changed

+182
-204
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
#- run: npm run test:unit
2424
#- run: npm run test-server &
2525
#- run: npm run test
26-
- run: npx next@14 experimental-compile
26+
- run: npx next@14 build --experimental-build-mode compile

jest/browser/jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const config: Config = {
160160
// runner: "jest-runner",
161161

162162
// The paths to modules that run some code to configure or set up the testing environment before each test
163-
setupFiles: ['<rootDir>/jest/browser/jest.polyfills.js'],
163+
//setupFiles: ['<rootDir>/jest/browser/jest.polyfills.js'],
164164

165165
// A list of paths to modules that run some code to configure or set up the testing framework before each test
166166
setupFilesAfterEnv: ['<rootDir>/jest/browser/jest.setup.ts'],
@@ -175,7 +175,7 @@ const config: Config = {
175175
// snapshotSerializers: [],
176176

177177
// The test environment that will be used for testing
178-
testEnvironment: 'jsdom',
178+
testEnvironment: 'jest-fixed-jsdom',
179179

180180
// Options that will be passed to the testEnvironment
181181
// testEnvironmentOptions: {},

jest/browser/jest.polyfills.js

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)