Skip to content

Commit

Permalink
test: remove skipped tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Apr 27, 2024
1 parent 71d200a commit 868192e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 109 deletions.
17 changes: 1 addition & 16 deletions services/liquid-auth-api-js/src/app.module.spec.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@
import { AppModule, mongooseModuleFactory } from './app.module.js';
import { Test } from '@nestjs/testing';
import { SignalsGateway } from './signals/signals.gateway.js';
import { AttestationModule } from './attestation/attestation.module.js';
import { AssertionModule } from './assertion/assertion.module.js';
import { mongooseModuleFactory } from './app.module.js';

import databaseConfigFixtures from './__fixtures__/configuration.database.fixtures.json';
import { ConfigService } from '@nestjs/config';

describe('AppModule', () => {
it.skip('should create the module', async () => {
//TODO: Implement in-memory database for testing
const module = await Test.createTestingModule({
imports: [AppModule],
}).compile();

expect(module).toBeDefined();
expect(module.get(SignalsGateway)).toBeInstanceOf(SignalsGateway);
expect(module.get(AttestationModule)).toBeInstanceOf(AttestationModule);
expect(module.get(AssertionModule)).toBeInstanceOf(AssertionModule);
});
it('should create the module with atlas configuration', async () => {
databaseConfigFixtures.forEach((fixture) => {
const mockConfigService = {
Expand Down

This file was deleted.

14 changes: 0 additions & 14 deletions services/liquid-auth-api-js/src/signals/signals.module.spec.ts

This file was deleted.

0 comments on commit 868192e

Please sign in to comment.