mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 08:00:06 +00:00
test(db): merge the factory imports of the newly ported integration suites
One import per module, and the resetTestDb import that no longer has a caller dropped.
This commit is contained in:
@@ -8,11 +8,10 @@ import { invalidatePermissionsCache } from '../../src/nest/permissions/permissio
|
||||
import { authCookie } from '../helpers/auth';
|
||||
import type { FactoryOrm } from '../helpers/factories/context';
|
||||
import { findRows } from '../helpers/factories/rows';
|
||||
import { addTripMember } from '../helpers/factories/trips';
|
||||
import { makeTrip } from '../helpers/factories/trips';
|
||||
import { addTripMember, makeTrip } from '../helpers/factories/trips';
|
||||
import { makeUser } from '../helpers/factories/users';
|
||||
import { resetDatabase } from '../helpers/reset-database';
|
||||
import { resetTestDb, resetRateLimits } from '../helpers/test-db';
|
||||
import { resetRateLimits } from '../helpers/test-db';
|
||||
import { MikroORM } from '@mikro-orm/core';
|
||||
import type { INestApplication } from '@nestjs/common';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user