]>
Lady’s Gitweb - Pisces/blob - mod.test.js
1 // ♓🌟 Piscēs ∷ mod.test.js
2 // ====================================================================
4 // Copyright © 2022 Lady [@ Lady’s Computer].
6 // This Source Code Form is subject to the terms of the Mozilla Public
7 // License, v. 2.0. If a copy of the MPL was not distributed with this
8 // file, You can obtain one at <https://mozilla.org/MPL/2.0/>.
10 import { assert
, describe
, it
} from "./dev-deps.js";
11 import * as Pisc
ēs
from "./mod.js";
13 describe("Piscēs", () => {
14 it("exports everything", async () => {
15 for await (const { name
, isFile
} of Deno
.readDir(".")) {
16 if (isFile
&& /(?<!^mod|\.test|(?:^|-)deps)\.js$/u.test(name
)) {
17 await
import(`./${name}`).then((module
) => {
18 for (const exported
of Object
.keys(module
)) {
19 assert(exported
in Pisc
ēs
);
This page took 0.059985 seconds and 5 git commands to generate.