chore: cleanup e2e (#5051)

This commit is contained in:
Jason Rasmussen
2023-11-14 20:31:06 -05:00
committed by GitHub
parent 6127fd4c5c
commit 4b722517f0
15 changed files with 77 additions and 171 deletions

View File

@@ -1,6 +1,5 @@
import { OAuthController } from '@app/immich';
import { api } from '@test/api';
import { db } from '@test/db';
import { errorStub } from '@test/fixtures';
import { testApp } from '@test/test-utils';
import request from 'supertest';
@@ -17,7 +16,7 @@ describe(`${OAuthController.name} (e2e)`, () => {
});
beforeEach(async () => {
await db.reset();
await testApp.reset();
await api.authApi.adminSignUp(server);
});