initial commit

This commit is contained in:
2021-07-30 17:16:47 -04:00
parent c407fb2fc8
commit 1a9afdc2b8
73 changed files with 46988 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import { Test } from '@nestjs/testing';
import { AppService } from './app.service';
describe('AppService', () => {
let service: AppService;
beforeAll(async () => {
const app = await Test.createTestingModule({
providers: [AppService],
}).compile();
service = app.get<AppService>(AppService);
});
describe('getData', () => {
it('should return "Welcome to api!"', () => {
expect(service.getData()).toEqual({ message: 'Welcome to api!' });
});
});
});