test: add tests

This commit is contained in:
2026-02-08 03:02:49 +05:00
parent 3cce3c2abc
commit 0d2325efe3
7 changed files with 219 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
import { prerender, ssr } from "$routes/+layout";
import { describe, expect, it } from "vitest";
describe("+layout.ts", () => {
it("should export ssr as false", () => {
expect(ssr).toBe(false);
});
it("should export prerender as true", () => {
expect(prerender).toBe(true);
});
});