Skip to content

Commit

Permalink
Add test files to entries list
Browse files Browse the repository at this point in the history
  • Loading branch information
Jym77 committed Oct 16, 2023
1 parent df75ebb commit 42688cd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config/knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ const config: KnipConfig = {
ignoreDependencies: ["prettier"],
},
"packages/*": {
entry: "src/index.ts!",
entry: ["src/index.ts!", "test/**/*.ts", "test/**/*.tsx"],
project: ["src/**/*.ts!", "test/**/*.ts", "test/**/*.tsx"],
},
"packages/alfa-device": {
entry: ["src/index.ts!", "native.ts!"],
entry: ["src/index.ts!", "native.ts!", "test/**/*.ts", "test/**/*.tsx"],
project: ["src/**/*.ts!", "test/**/*.ts", "test/**/*.tsx"],
},
"packages/alfa-dom": {
Expand All @@ -22,11 +22,13 @@ const config: KnipConfig = {
"jsx.ts!",
"jsx-runtime.ts!",
"native.ts!",
"test/**/*.ts",
"test/**/*.tsx",
],
project: ["src/**/*.ts!", "test/**/*.ts", "test/**/*.tsx"],
},
"packages/alfa-web": {
entry: ["src/index.ts!", "native.ts!"],
entry: ["src/index.ts!", "native.ts!", "test/**/*.ts", "test/**/*.tsx"],
project: ["src/**/*.ts!", "test/**/*.ts", "test/**/*.tsx"],
},
},
Expand Down

0 comments on commit 42688cd

Please sign in to comment.