mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -05:00
style: remove unused variables
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
91eba0d3af
commit
898abc08f3
2 changed files with 0 additions and 4 deletions
|
@ -35,7 +35,6 @@ describe('HistoryService', () => {
|
||||||
let historyRepo: Repository<HistoryEntry>;
|
let historyRepo: Repository<HistoryEntry>;
|
||||||
let connection;
|
let connection;
|
||||||
let noteRepo: Repository<Note>;
|
let noteRepo: Repository<Note>;
|
||||||
let aliasRepo: Repository<Alias>;
|
|
||||||
|
|
||||||
type MockConnection = {
|
type MockConnection = {
|
||||||
transaction: () => void;
|
transaction: () => void;
|
||||||
|
@ -102,7 +101,6 @@ describe('HistoryService', () => {
|
||||||
historyRepo = module.get<Repository<HistoryEntry>>(
|
historyRepo = module.get<Repository<HistoryEntry>>(
|
||||||
getRepositoryToken(HistoryEntry),
|
getRepositoryToken(HistoryEntry),
|
||||||
);
|
);
|
||||||
aliasRepo = module.get<Repository<Alias>>(getRepositoryToken(Alias));
|
|
||||||
connection = module.get<Connection>(Connection);
|
connection = module.get<Connection>(Connection);
|
||||||
noteRepo = module.get<Repository<Note>>(getRepositoryToken(Note));
|
noteRepo = module.get<Repository<Note>>(getRepositoryToken(Note));
|
||||||
});
|
});
|
||||||
|
|
|
@ -27,7 +27,6 @@ import { HistoryModule } from '../src/history/history.module';
|
||||||
import { HistoryService } from '../src/history/history.service';
|
import { HistoryService } from '../src/history/history.service';
|
||||||
import { IdentityModule } from '../src/identity/identity.module';
|
import { IdentityModule } from '../src/identity/identity.module';
|
||||||
import { IdentityService } from '../src/identity/identity.service';
|
import { IdentityService } from '../src/identity/identity.service';
|
||||||
import { ConsoleLoggerService } from '../src/logger/console-logger.service';
|
|
||||||
import { LoggerModule } from '../src/logger/logger.module';
|
import { LoggerModule } from '../src/logger/logger.module';
|
||||||
import { MediaModule } from '../src/media/media.module';
|
import { MediaModule } from '../src/media/media.module';
|
||||||
import { MediaService } from '../src/media/media.service';
|
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 { UsersModule } from '../src/users/users.module';
|
||||||
import { UsersService } from '../src/users/users.service';
|
import { UsersService } from '../src/users/users.service';
|
||||||
import { setupSessionMiddleware } from '../src/utils/session';
|
import { setupSessionMiddleware } from '../src/utils/session';
|
||||||
import { setupValidationPipe } from '../src/utils/setup-pipes';
|
|
||||||
|
|
||||||
export class TestSetup {
|
export class TestSetup {
|
||||||
moduleRef: TestingModule;
|
moduleRef: TestingModule;
|
||||||
|
|
Loading…
Reference in a new issue