Skip to content

Commit

Permalink
feat: add top command test
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasticsoul committed Nov 25, 2023
1 parent f67d04d commit eca4cbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"release:all": "changeset publish",
"release:auto": "pnpm build && pnpm version:all && pnpm release:all && pnpm sync",
"sync": "cnpm sync helux && cnpm sync @helux/core && cnpm sync @helux/hooks && cnpm sync @helux/hooks-impl && cnpm sync @helux/types && cnpm sync @helux/utils",
"test": "cd ./packages/helux && pnpm run test",
"version:all": "changelog version"
},
"lint-staged": {
Expand Down
4 changes: 2 additions & 2 deletions packages/helux/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineConfig({
test: {
globals: true,
environment: 'jsdom',
setupFiles: './vitest-setup.ts', // for vitest runner
// setupFiles: './__tests__/vitest-setup.ts', // for local command 'npm run test'
// setupFiles: './vitest-setup.ts', // for vitest runner
setupFiles: './__tests__/vitest-setup.ts', // for local command 'npm run test'
},
});

0 comments on commit eca4cbe

Please sign in to comment.