Skip to content

Commit

Permalink
Merge pull request #403 from bcgsc/bugfix/DEVSU-2498-fix-jest-errors
Browse files Browse the repository at this point in the history
bugfix/DEVSU-2498-fix-jest-errors
  • Loading branch information
Nithriel authored Nov 21, 2024
2 parents 82089bf + e8abcaf commit c6b2fb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/routes/report/signatureVariants.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe('/reports/{REPORTID}/sigv', () => {
});

afterEach(async () => {
await db.models.signatureVariants.destroy({where: {ident: sigvUpdate.ident}, force: true});
await db.models.signatureVariants.destroy({where: {ident: sigvUpdate.ident}});
});

test('/{sigv} - 200 Success', async () => {
Expand Down Expand Up @@ -169,7 +169,7 @@ describe('/reports/{REPORTID}/sigv', () => {
});

afterEach(async () => {
await db.models.signatureVariants.destroy({where: {ident: sigvDelete.ident}, force: true});
await db.models.signatureVariants.destroy({where: {ident: sigvDelete.ident}});
});

test('/{sigv} - 204 No content', async () => {
Expand Down Expand Up @@ -201,7 +201,7 @@ describe('/reports/{REPORTID}/sigv', () => {
afterAll(async () => {
// delete newly created report and all of it's components
// indirectly by hard deleting newly created patient
report.destroy({force: true});
report.destroy();
});
});

Expand Down

0 comments on commit c6b2fb4

Please sign in to comment.