import {resetSid} from './test-util-sid'

export function commonSetup() {
    beforeEach(() => {
        jest.useFakeTimers()
        jest.setSystemTime(new Date(2020, 9, 10))
        resetSid()
    })

    afterEach(() => {
        jest.useRealTimers()
        jest.restoreAllMocks()
    })
}
