Files
ota-admin-portal/src/services/__mocks__/timer.js
John Wu e1f0006d5e Web Worker Sign Out and Use Go API (#13)
* Calculate checksum and send with file upload

* Limit file upload and display rejected file error

* Add sign in timeout

* Check auth token structure before setting
Clean up

* Use web worker timer to sign out
Remove checksum
Point to Go ota update

* Remove checksum dependency
2021-02-08 15:23:36 -08:00

13 lines
186 B
JavaScript

const timer = {
start: jest.fn(),
stop: jest.fn(),
onMessage: jest.fn(),
terminate: jest.fn()
}
const getTimerWorker = () => {
return timer;
}
export default getTimerWorker;