X-Git-Url: https://git.ladys.computer/Pisces/blobdiff_plain/6f1ff895670d04034ef09faea4779923a85097fb..7c3a2eda590637af9463e5a59ab798f802d274a9:/mod.test.js diff --git a/mod.test.js b/mod.test.js new file mode 100644 index 0000000..59a7cbf --- /dev/null +++ b/mod.test.js @@ -0,0 +1,25 @@ +// ♓🌟 Piscēs ∷ mod.test.js +// ==================================================================== +// +// Copyright © 2022 Lady [@ Lady’s Computer]. +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at . + +import { assert, describe, it } from "./dev-deps.js"; +import * as Piscēs from "./mod.js"; + +describe("Piscēs", () => { + it("exports everything", async () => { + for await (const { name, isFile } of Deno.readDir(".")) { + if (isFile && /(? { + for (const exported of Object.keys(module)) { + assert(exported in Piscēs); + } + }); + } + } + }); +});