containerize
This commit is contained in:
2025-01-12 20:33:10 +01:00
parent 6707a95648
commit f928b75678
5 changed files with 102 additions and 1 deletions

13
src/lib/utils.test.ts Normal file
View File

@@ -0,0 +1,13 @@
import { describe, expect, it } from "bun:test";
import { getRandomInt } from "./utils.ts";
describe("utils", () => {
it("gets a random int", () => {
const randomInt = getRandomInt(0, 10);
expect(randomInt).toBeDefined();
expect(randomInt).toBeNumber();
expect(randomInt).toBeLessThanOrEqual(10);
expect(randomInt).toBeGreaterThanOrEqual(0);
});
});