photoprism/frontend/tests/unit/common/viewer_test.js
Michael Mayer 26560e8d71 Frontend: Upgrade Webpack from v4 to v5
Most frontend packages have been upgraded as part of this commit.
JS unit tests have been refactored alongside.
2021-07-12 19:25:37 +02:00

12 lines
271 B
JavaScript

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