storage module

This commit is contained in:
Philipinho
2023-09-23 13:54:11 +01:00
parent 04dea6c253
commit 7f38d3bffe
19 changed files with 503 additions and 1 deletions
@@ -0,0 +1,7 @@
import { Module } from '@nestjs/common';
import { AttachmentService } from './attachment.service';
@Module({
providers: [AttachmentService],
})
export class AttachmentModule {}
@@ -0,0 +1,18 @@
import { Test, TestingModule } from '@nestjs/testing';
import { AttachmentService } from './attachment.service';
describe('AttachmentService', () => {
let service: AttachmentService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [AttachmentService],
}).compile();
service = module.get<AttachmentService>(AttachmentService);
});
it('should be defined', () => {
expect(service).toBeDefined();
});
});
@@ -0,0 +1,4 @@
import { Injectable } from '@nestjs/common';
@Injectable()
export class AttachmentService {}