mirror of
https://github.com/prymitive/karma
synced 2026-05-11 03:46:48 +00:00
Add basic tests for watchdog using jest
This commit is contained in:
9
assets/static/watchdog.test.js
Normal file
9
assets/static/watchdog.test.js
Normal file
@@ -0,0 +1,9 @@
|
||||
const watchdog = require("./watchdog");
|
||||
|
||||
test("watchdog init", () => {
|
||||
watchdog.init();
|
||||
});
|
||||
|
||||
test("watchdog getTs without pong", () => {
|
||||
expect(watchdog.getTs).toBe(undefined);
|
||||
});
|
||||
Reference in New Issue
Block a user