mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-29 07:05:13 -07:00
@@ -0,0 +1,10 @@
|
||||
export function disableIntl () {
|
||||
let intl: typeof Intl
|
||||
beforeEach(() => {
|
||||
intl = Intl
|
||||
delete (global as any).Intl
|
||||
})
|
||||
afterEach(() => {
|
||||
(global as any).Intl = intl
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user