photoprism/frontend/tests/unit/common/viewer_test.js
2019-08-13 08:10:36 +02:00

12 lines
No EOL
324 B
JavaScript

import Viewer from "common/viewer";
let chai = require('../../../node_modules/chai/chai');
let assert = chai.assert;
describe("common/viewer", () => {
it("should construct viewer", () => {
const viewer = new Viewer();
assert.equal(viewer.photos, "");
assert.equal(viewer.el, null);
});
});