Update setup-jest.ts

Fix locale import: use zh-Hant instead of zh-TW
This commit is contained in:
LokiHung 2025-02-12 03:20:52 +08:00 committed by GitHub
parent 20639b8a35
commit 10bfad7077
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ import localeSv from '@angular/common/locales/sv'
import localeTr from '@angular/common/locales/tr'
import localeUk from '@angular/common/locales/uk'
import localeZh from '@angular/common/locales/zh'
import localeZhTw from '@angular/common/locales/zh-TW'
import localeZhHant from '@angular/common/locales/zh-Hant'
registerLocaleData(localeAf)
registerLocaleData(localeAr)
@ -74,7 +74,7 @@ registerLocaleData(localeSv)
registerLocaleData(localeTr)
registerLocaleData(localeUk)
registerLocaleData(localeZh)
registerLocaleData(localeZhTw)
registerLocaleData(localeZhHant)
/* global mocks for jsdom */
const mock = () => {