Forked from
Eclipse Projects / xfsc / Organization Credential Manager / OCM-Engine
392 commits behind the upstream repository.
-
zdravko iliev authoredzdravko iliev authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
app.module.spec.ts 553 B
import { Test, TestingModule } from '@nestjs/testing';
import { INestApplication } from '@nestjs/common';
import AppModule from './app.module';
describe('App Module', () => {
let app: INestApplication;
beforeAll(async () => {
const moduleFixture: TestingModule = await Test.createTestingModule({
imports: [AppModule],
}).compile();
app = moduleFixture.createNestApplication();
await app.init();
});
it('should work', () => {
expect(true).toBe(true);
});
afterAll(async () => {
await app.close();
});
});