Skip to content

Commit

Permalink
Merge pull request #85 from GeneralMagicio/fixQaccServiceTests
Browse files Browse the repository at this point in the history
delete donations with early access rounds
  • Loading branch information
ae2079 authored Oct 3, 2024
2 parents 7653628 + 3b2f20d commit 996e8c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/qAccService.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { assert } from 'chai';
import moment from 'moment';
import { IsNull, Not } from 'typeorm';
import {
createDonationData,
createProjectData,
Expand All @@ -18,6 +19,7 @@ import qAccService from './qAccService';
describe('qAccService', () => {
before(async () => {
await ProjectRoundRecord.delete({});
await Donation.delete({ earlyAccessRoundId: Not(IsNull()) });
await EarlyAccessRound.delete({});
});

Expand Down

0 comments on commit 996e8c0

Please sign in to comment.