14
shared/editor/embeds/Gliffy.test.ts
Normal file
14
shared/editor/embeds/Gliffy.test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import Gliffy from "./Gliffy";
|
||||
|
||||
describe("Gliffy", () => {
|
||||
const match = Gliffy.ENABLED[0];
|
||||
|
||||
test("to not be enabled elsewhere", () => {
|
||||
expect("https://gotgliffy.com/go/share/c9d837d74182317".match(match)).toBe(
|
||||
null
|
||||
);
|
||||
expect("https://go.gliffyycom/go/share/c9d837d74182317".match(match)).toBe(
|
||||
null
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user