Skip to content
Snippets Groups Projects

feat(ssi): added did configuration for all dids

Merged Berend Sliedrecht requested to merge tsabolov/ocm-engine:did-configuration into main
169 files
+ 4733
12320
Compare changes
  • Side-by-side
  • Inline
Files
169
import type { INestApplication } from '@nestjs/common';
import type { TestingModule } from '@nestjs/testing';
import { afterEach, beforeEach, describe, it } from '@jest/globals';
import { Test } from '@nestjs/testing';
import request from 'supertest';
import AppModule from '../src/app.module.js';
import { Application } from '../application.js';
describe('AppController (e2e)', () => {
describe('Application', () => {
let app: INestApplication;
beforeEach(async () => {
const moduleFixture: TestingModule = await Test.createTestingModule({
imports: [AppModule],
const moduleRef = await Test.createTestingModule({
imports: [Application],
}).compile();
app = moduleFixture.createNestApplication();
app = moduleRef.createNestApplication();
await app.init();
});
@@ -23,6 +20,7 @@ describe('AppController (e2e)', () => {
await app.close();
});
it('/v1/health (GET)', () =>
request(app.getHttpServer()).get('/health').expect(200));
it('should be defined', () => {
expect(app).toBeDefined();
});
});
Loading