Skip to content

Commit c2d0615

Browse files
committed
e2e test
1 parent 4f009d9 commit c2d0615

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

boilerplates/eslint/files/eslint.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export default tseslint.config(
1919
".vercel/*",
2020
//# BATI.has("aws")
2121
"cdk.out/*",
22+
//# BATI.has("panda-css")
23+
"styled-system/",
2224
// JS files at the root of the project
2325
"*.js",
2426
"*.cjs",

boilerplates/shared/files/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"strict": true,
44
"allowJs": true,
5-
"checkJs": true,
5+
"checkJs": false,
66
"esModuleInterop": true,
77
"forceConsistentCasingInFileNames": true,
88
"resolveJsonModule": true,

packages/tests/tests/FRAMEWORK+tailwindcss.spec.ts packages/tests/tests/FRAMEWORK+CSS.spec.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { readFile } from "node:fs/promises";
22
import { describeBati } from "@batijs/tests-utils";
3+
import { existsSync } from "node:fs";
4+
import path from "node:path";
35

4-
export const matrix = [["solid", "react", "vue"], ["tailwindcss", "daisyui"], "eslint"];
6+
export const matrix = [["solid", "react", "vue"], ["tailwindcss", "daisyui", "panda-css"], "eslint"];
57

68
await describeBati(({ test, expect, fetch, context }) => {
79
test("home", async () => {
@@ -14,4 +16,9 @@ await describeBati(({ test, expect, fetch, context }) => {
1416
const content = await readFile("tailwind.config.ts", "utf-8");
1517
expect(content.includes("daisyui")).toBe(context.flags.includes("daisyui"));
1618
});
19+
20+
test("panda-css", async () => {
21+
expect(existsSync(path.join(process.cwd(), "panda.config.ts"))).toBe(true);
22+
expect(existsSync(path.join(process.cwd(), "layouts", "panda.css"))).toBe(true);
23+
});
1724
});

0 commit comments

Comments
 (0)