13 lines
312 B
TypeScript
13 lines
312 B
TypeScript
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);
|
|
});
|
|
});
|