mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 12:50:38 -07:00
11 lines
190 B
TypeScript
11 lines
190 B
TypeScript
export function disableIntl () {
|
|
let intl: typeof Intl
|
|
beforeEach(() => {
|
|
intl = Intl
|
|
delete (global as any).Intl
|
|
})
|
|
afterEach(() => {
|
|
(global as any).Intl = intl
|
|
})
|
|
}
|