Files
liquidjs/test/stub/no-intl.ts
T

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
})
}