Skip to content

Commit 39a5a98

Browse files
committed
chore: wip
1 parent 5fbadbc commit 39a5a98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/bun-git-hooks.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ describe('bun-git-hooks', () => {
106106
*/
107107
describe('E2E tests', () => {
108108
const TEST_SCRIPT = `${gitHooks.PREPEND_SCRIPT}exit 1`
109-
const COMMON_GIT_HOOKS = { 'pre-commit': TEST_SCRIPT, 'pre-push': TEST_SCRIPT }
109+
const COMMON_GIT_HOOKS = {
110+
'pre-commit': `${gitHooks.PREPEND_SCRIPT}bun run lint && bun run test`,
111+
}
110112

111113
// To test this package, we often need to create and manage files.
112114
// Best to use real file system and real files under _tests folder

0 commit comments

Comments
 (0)