Skip to content
Snippets Groups Projects

Schemas and credential definitions. Refs #9

39 files
+ 1288
297
Compare changes
  • Side-by-side
  • Inline
Files
39
 
import type { INestApplication } from '@nestjs/common';
 
 
import { Test } from '@nestjs/testing';
 
 
import { Application } from '../application.js';
 
 
describe('Application', () => {
 
let app: INestApplication;
 
 
beforeAll(async () => {
 
const moduleFixture = await Test.createTestingModule({
 
imports: [Application],
 
}).compile();
 
 
app = moduleFixture.createNestApplication();
 
await app.init();
 
});
 
 
afterAll(async () => {
 
await app.close();
 
});
 
 
it('should be defined', () => {
 
expect(app).toBeDefined();
 
});
 
});
Loading