Add test for viewer.js

This commit is contained in:
Theresa Gresch 2019-08-08 17:46:06 +02:00
parent d2f7a14fa9
commit 410b7c6d61

View file

@ -0,0 +1,10 @@
import assert from "assert";
import Viewer from "common/viewer";
describe("common/viewer", () => {
it("should construct viewer", () => {
const viewer = new Viewer();
assert.equal(viewer.photos, "");
assert.equal(viewer.el, null);
});
});