Skip to content

Commit f5d4f9e

Browse files
committed
fix: fix husky
1 parent 16b7b8a commit f5d4f9e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/sh
22

3-
npm run lint && npm run format && npm run test && npm run test:arch && git add .
3+
npm run lint && npm run format && git add .

.husky/pre-push

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
npm run lint:check && npm run format:check && npm run test && npm run test:arch

test/arch/controller.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ describe('controller boundaries', () => {
3232
.dependOnFiles()
3333
.inFolder('*/dal/*');
3434

35-
await expect(rule).toPassAsync();
35+
expect(rule).toPassAsync();
3636
});
3737
});

0 commit comments

Comments
 (0)