Skip to content

Commit

Permalink
test: use nx-verdaccio for lh e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton committed Oct 15, 2024
1 parent 678c397 commit 95ccd85
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 0 additions & 1 deletion e2e/plugin-lighthouse-e2e/vite.config.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export default defineConfig({
},
environment: 'node',
include: ['tests/**/*.e2e.test.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
globalSetup: ['../../global-setup.verdaccio.ts'],
setupFiles: ['../../testing/test-setup/src/lib/reset.mocks.ts'],
},
});
3 changes: 3 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@
"environments": {
"environmentsDir": "tmp/e2e",
"targetNames": ["e2e"]
},
"packages": {
"filterByTags": ["publishable"]
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@nx/react": "17.3.2",
"@nx/vite": "17.3.2",
"@nx/workspace": "17.3.2",
"@push-based/nx-verdaccio": "^0.0.0-alpha.11",
"@push-based/nx-verdaccio": "^0.0.0-alpha.16",
"@swc-node/register": "^1.10.9",
"@swc/cli": "~0.1.62",
"@swc/core": "^1.3.99",
Expand Down

0 comments on commit 95ccd85

Please sign in to comment.