fix: run frontend test failed and enable run test in CI (#17017)

This commit is contained in:
Joel
2025-03-31 14:36:01 +08:00
committed by GitHub
parent 161724fb17
commit 7df36fe9f5
7 changed files with 95 additions and 377 deletions

View File

@@ -156,7 +156,7 @@ const config: Config = {
// snapshotSerializers: [],
// The test environment that will be used for testing
testEnvironment: 'jsdom',
testEnvironment: '@happy-dom/jest-environment',
// Options that will be passed to the testEnvironment
// testEnvironmentOptions: {},