conversion to type script
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import test from "node:test";
|
||||
import assert from "node:assert/strict";
|
||||
|
||||
import { buildOembedUrl } from "../src/oembed.js";
|
||||
import { findProvider, flattenProviders, wildcardToRegExp } from "../src/providers.js";
|
||||
import { buildOembedUrl } from "../dist/src/oembed.js";
|
||||
import { findProvider, flattenProviders, wildcardToRegExp } from "../dist/src/providers.js";
|
||||
|
||||
test("wildcard provider schemes match target URLs", () => {
|
||||
const regex = wildcardToRegExp("https://*.example.com/watch*");
|
||||
|
||||
Reference in New Issue
Block a user