UNPKG

domain-namer

Version:

Generate and validate fully qualifed domain names and more

10 lines (8 loc) 281 B
import { assert } from "chai"; import { describe, it } from "mocha"; import { DomainPatterns } from "../dist/index.js"; describe("ESM Module compatability", () => { it("should be able to use imports", () => { assert.isTrue(DomainPatterns.fqdn.test("google.com")); }); });