Skip to content

Commit 8de09ce

Browse files
committed
fix: fix tests
1 parent f5d4f9e commit 8de09ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/arch/domain.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('domain boundaries', () => {
1010
.dependOnFiles()
1111
.inFolder('*/dal/*');
1212

13-
await expect(rule).toPassAsync();
13+
expect(rule).toPassAsync();
1414
});
1515

1616
it('business logic should not depend on the controller', async () => {
@@ -20,7 +20,7 @@ describe('domain boundaries', () => {
2020
.dependOnFiles()
2121
.matchingPattern('controller.ts');
2222

23-
await expect(rule).toPassAsync();
23+
expect(rule).toPassAsync();
2424
});
2525

2626
it('business logic should not depend on the dto', async () => {
@@ -30,7 +30,7 @@ describe('domain boundaries', () => {
3030
.dependOnFiles()
3131
.inFolder('*/dtos/*');
3232

33-
await expect(rule).toPassAsync();
33+
expect(rule).toPassAsync();
3434
});
3535

3636
it('business logic should be cycle free', async () => {
@@ -39,7 +39,7 @@ describe('domain boundaries', () => {
3939
.should()
4040
.beFreeOfCycles();
4141

42-
await expect(rule).toPassAsync();
42+
expect(rule).toPassAsync();
4343
});
4444

4545
it('allows multiple patterns for interactors', async () => {

0 commit comments

Comments
 (0)