feat: add template to make my life easier
Node.js CI / Lint and Test (push) Successful in 22s

This commit is contained in:
2025-12-03 10:00:55 -08:00
parent c728436ed7
commit 9e7387a281
3 changed files with 31 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
/**
* @copyright NHCarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
import { describe, it, expect } from "vitest";
import { doThing } from "./main.js";
describe("mineColor", () => {
it("should do the thing", () => {
expect(doThing()).toBe(true);
});
});
+16
View File
@@ -0,0 +1,16 @@
/**
* @copyright NHCarrigan
* @license Naomi's Public License
* @author Naomi Carrigan
*/
/**
* Does a thing.
* @returns The result of the thing.
* @see https://nhcarrigan.com
*/
const doThing = (): boolean => {
return true;
};
export { doThing };
+1 -1
View File
@@ -4,5 +4,5 @@
"rootDir": "./src",
"noEmit": true
},
"exclude": ["vitest.config.ts"]
"exclude": ["vitest.config.ts", "_template/**/*"]
}