Enhancement: angular 19 (#8584)

This commit is contained in:
shamoon 2025-01-01 22:26:53 -08:00 committed by GitHub
parent 75de53eb83
commit f89b6281da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
209 changed files with 6147 additions and 4098 deletions

View file

@ -1,8 +1,9 @@
import '@angular/localize/init'
import { jest } from '@jest/globals'
import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone'
import { TextDecoder, TextEncoder } from 'util'
if (process.env.NODE_ENV === 'test') {
require('jest-preset-angular/setup-jest')
setupZoneTestEnv()
}
global.TextEncoder = TextEncoder
global.TextDecoder = TextDecoder