Skip to content

Commit

Permalink
Fix Knip issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sdvg committed Nov 8, 2023
1 parent 754530b commit bbfaa42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/tools/visual-tests/.knip.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"entry": ["src/index.ts"],
"entry": ["src/index.js"],
"ignoreBinaries": [],
"ignoreDependencies": ["@public-ui/sample-react", "serve"],
"project": ["src/**/*.ts"],
"project": ["src/**/*.js"],
"rules": {
"classMembers": "warn"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/tools/visual-tests/playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ console.log('Serving React Sample app:', URL);
*/
export default defineConfig({
testDir: './tests',
snapshotDir: path.join(process.env.KOLIBRI_CWD, 'snapshots'),
snapshotDir: path.join(process.env.KOLIBRI_CWD ?? '', 'snapshots'),
// snapshotPathTemplate: '',
outputDir: path.join(process.env.KOLIBRI_CWD, 'test-results'),
outputDir: path.join(process.env.KOLIBRI_CWD ?? '', 'test-results'),
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
Expand Down

0 comments on commit bbfaa42

Please sign in to comment.