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
commit 7df36fe9f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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: {},