Cannot create Jest jsdom tests (?)
This commit is contained in:
parent
039be57499
commit
297150a1b6
@ -1,6 +1,12 @@
|
||||
// Copyright: Ankitects Pty Ltd and contributors
|
||||
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
|
||||
test("it should work", () => {
|
||||
expect("test").toBe("test");
|
||||
import { filterHTML } from ".";
|
||||
|
||||
describe("filterHTML", () => {
|
||||
test("zero input creates zero output", () => {
|
||||
expect(filterHTML("", true, false)).toBe("");
|
||||
expect(filterHTML("", true, false)).toBe("");
|
||||
expect(filterHTML("", false, false)).toBe("");
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user