Skip to content

Commit

Permalink
fix jest
Browse files Browse the repository at this point in the history
  • Loading branch information
emilwidlund committed Dec 30, 2024
1 parent 58c4dcb commit 4b5ce53
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"next.config.mjs",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
".next/types/**/*.ts",
"types.d.ts"
],
"exclude": ["node_modules"]
}
4 changes: 4 additions & 0 deletions apps/web/types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '*.glsl' {
const value: string;
export default value;
}
2 changes: 1 addition & 1 deletion packages/nodes/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
},
"types": ["./types.d.ts", "jest"]
},
"include": ["./src"],
"include": ["./src", "types.d.ts"],
"exclude": ["./src/**/*.spec.ts", "./src/**/*.test.ts"]
}

0 comments on commit 4b5ce53

Please sign in to comment.