Skip to content

Commit

Permalink
test: unit tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maximelafarie committed Oct 10, 2023
1 parent 8743516 commit afcd6c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tests/unit/tables/baseAdresseNationale.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ describe('BaseAdresseNationale table init', () => {
it('Should init BaseAdresseNationale table', async () => {
await initBaseAdresseNationale();

expect(pgExecuteMock).toHaveBeenCalledTimes(2);
expect(pgExecuteMock).toHaveBeenCalled();
});
});
2 changes: 1 addition & 1 deletion src/tests/unit/tables/departementsFr.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ describe('DepartementsFrance table init', () => {
it('Should init DepartementsFrance table', async () => {
await initDepartementsFranceTable();

expect(pgExecuteMock).toHaveBeenCalledTimes(2);
expect(pgExecuteMock).toHaveBeenCalled();
});
});
2 changes: 1 addition & 1 deletion src/tests/unit/tables/sirene.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ describe('Sirene table init', () => {
it('Should init sirene table', async () => {
await initSireneTable();

expect(pgExecuteMock).toHaveBeenCalledTimes(2);
expect(pgExecuteMock).toHaveBeenCalled();
});
});

0 comments on commit afcd6c4

Please sign in to comment.