Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
afterEach(() => tzmock.unregister());
afterAll(() => {
timezoneMock.unregister();
});
afterAll(() => {
timezoneMock.unregister();
});
afterAll(() => {
timezoneMock.unregister();
});
afterEach(() => {
timezoneMock.unregister();
});
afterAll(() => {
timezoneMock.unregister();
});
({ val, locatTimezone, utc, result }) => {
timezoneMock.register(locatTimezone);
expect(isoDateToInputString(val, utc)).toBe(result);
timezoneMock.unregister();
},
);
afterEach(() => {
vm.destroy();
timezoneMock.unregister();
});
afterAll(() => {
timezoneMock.unregister()
})