add test folder
This commit is contained in:
parent
83ede78a1d
commit
717fd16adc
|
@ -0,0 +1,9 @@
|
|||
import { assertEquals } from "https://deno.land/std@0.177.0/testing/asserts.ts";
|
||||
|
||||
import { parseYoutubeId } from "../utils.ts";
|
||||
|
||||
Deno.test("parseYoutubeId", () => {
|
||||
const url = parseYoutubeId("https://www.youtube.com/watch?v=ylAF0WNvLx0");
|
||||
|
||||
assertEquals(url, "ylAF0WNvLx0");
|
||||
});
|
Loading…
Reference in New Issue