This commit is contained in:
Bastian Wagner
2026-03-13 15:27:39 +01:00
parent 084decfc10
commit 202f6579b4
3 changed files with 3 additions and 37 deletions

View File

@@ -1,18 +0,0 @@
import { Test, TestingModule } from '@nestjs/testing';
import { PdfController } from './pdf.controller';
describe('PdfController', () => {
let controller: PdfController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [PdfController],
}).compile();
controller = module.get<PdfController>(PdfController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});

View File

@@ -1,18 +0,0 @@
import { Test, TestingModule } from '@nestjs/testing';
import { PdfService } from './pdf.service';
describe('PdfService', () => {
let service: PdfService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [PdfService],
}).compile();
service = module.get<PdfService>(PdfService);
});
it('should be defined', () => {
expect(service).toBeDefined();
});
});

View File

@@ -1,8 +1,10 @@
import { Module } from '@nestjs/common'; import { Module } from '@nestjs/common';
import { MinioService } from './minio/minio.service'; import { MinioService } from './minio/minio.service';
import { ConfigModule } from '@nestjs/config';
@Module({ @Module({
providers: [MinioService], providers: [MinioService],
exports: [MinioService] exports: [MinioService],
imports: [ ConfigModule ]
}) })
export class StorageModule {} export class StorageModule {}