generated from nhcarrigan/template
This commit is contained in:
@@ -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);
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -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
@@ -4,5 +4,5 @@
|
|||||||
"rootDir": "./src",
|
"rootDir": "./src",
|
||||||
"noEmit": true
|
"noEmit": true
|
||||||
},
|
},
|
||||||
"exclude": ["vitest.config.ts"]
|
"exclude": ["vitest.config.ts", "_template/**/*"]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user