style: remove unused variables

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2022-01-23 22:46:14 +01:00 committed by Philip Molares
parent 91eba0d3af
commit 898abc08f3
2 changed files with 0 additions and 4 deletions

View file

@ -35,7 +35,6 @@ describe('HistoryService', () => {
let historyRepo: Repository<HistoryEntry>;
let connection;
let noteRepo: Repository<Note>;
let aliasRepo: Repository<Alias>;
type MockConnection = {
transaction: () => void;
@ -102,7 +101,6 @@ describe('HistoryService', () => {
historyRepo = module.get<Repository<HistoryEntry>>(
getRepositoryToken(HistoryEntry),
);
aliasRepo = module.get<Repository<Alias>>(getRepositoryToken(Alias));
connection = module.get<Connection>(Connection);
noteRepo = module.get<Repository<Note>>(getRepositoryToken(Note));
});

View file

@ -27,7 +27,6 @@ import { HistoryModule } from '../src/history/history.module';
import { HistoryService } from '../src/history/history.service';
import { IdentityModule } from '../src/identity/identity.module';
import { IdentityService } from '../src/identity/identity.service';
import { ConsoleLoggerService } from '../src/logger/console-logger.service';
import { LoggerModule } from '../src/logger/logger.module';
import { MediaModule } from '../src/media/media.module';
import { MediaService } from '../src/media/media.service';
@ -40,7 +39,6 @@ import { RevisionsModule } from '../src/revisions/revisions.module';
import { UsersModule } from '../src/users/users.module';
import { UsersService } from '../src/users/users.service';
import { setupSessionMiddleware } from '../src/utils/session';
import { setupValidationPipe } from '../src/utils/setup-pipes';
export class TestSetup {
moduleRef: TestingModule;