Add basic tests for watchdog using jest

This commit is contained in:
Łukasz Mierzwa
2017-07-19 21:22:39 -07:00
parent 1474af8f07
commit f8357689ad

View File

@@ -0,0 +1,9 @@
const watchdog = require("./watchdog");
test("watchdog init", () => {
watchdog.init();
});
test("watchdog getTs without pong", () => {
expect(watchdog.getTs).toBe(undefined);
});