feat: initial prototype
Node.js CI / Lint and Test (push) Successful in 41s

This commit is contained in:
2025-03-06 17:41:16 -08:00
parent 8b4ccadcfe
commit e53db48154
16 changed files with 5348 additions and 15 deletions
+20
View File
@@ -0,0 +1,20 @@
/**
* @copyright nhcarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
/* eslint-disable max-nested-callbacks -- Not sure how to better optimise this. */
import { describe, expect, it } from "vitest";
import { mommy } from "../src/config/mommy.ts";
describe("mommy", () => {
it.each(mommy)(`%s should be unique`, (mom) => {
expect.assertions(1);
const matches = mommy.filter((m) => {
return m === mom;
});
expect(matches.length, `${mom} is not unique!`).toBeLessThan(2);
});
});