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