Skip to content

Commit

Permalink
Added missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
JanSpies82 committed Jul 10, 2023
1 parent aa4da3c commit bea508a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions backend/src/file_manager/file_manager.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@ import {
} from '@nestjs/common';
import { DirectoryFilesDTO } from './dto/directory_files.dto';
import { ExportDTO } from './dto/export.dto';
import { UsersService } from '../users/users.service';
import { AuthService } from '../auth/auth.service';
import { JwtService } from '@nestjs/jwt';

describe('FileManagerService', () => {
let service: FileManagerService;
let foldersService: FoldersService;
let markdownFilesService: MarkdownFilesService;
let s3Service: S3Service;
let conversionService: ConversionService;
let usersService: UsersService;

beforeEach(async () => {
const module: TestingModule =
Expand All @@ -49,6 +53,9 @@ describe('FileManagerService', () => {
MarkdownFilesService,
S3Service,
ConversionService,
UsersService,
AuthService,
JwtService,
{
provide: 'FileManagerService',
useValue: {
Expand Down Expand Up @@ -105,6 +112,8 @@ describe('FileManagerService', () => {
module.get<ConversionService>(
ConversionService,
);
usersService =
module.get<UsersService>(UsersService);

module.close();
});
Expand Down

0 comments on commit bea508a

Please sign in to comment.