Skip to content

Commit a103dd2

Browse files
bugfix(): fix broken unit tests (invalid import & typing)
1 parent edf3ff3 commit a103dd2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/core/test/helpers/application-ref-host.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ describe('HttpAdapterHost', () => {
55
const applicationRefHost = new HttpAdapterHost();
66
it('should wrap application reference', () => {
77
const ref = {};
8-
applicationRefHost.httpAdapter = ref;
8+
applicationRefHost.httpAdapter = ref as any;
99

1010
expect(applicationRefHost.httpAdapter).to.be.eql(ref);
1111
});

packages/microservices/module/clients.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { DynamicModule, Module } from '@nestjs/common';
2-
import { ClientProxyFactory } from 'client';
2+
import { ClientProxyFactory } from './../client';
33
import { getClientToken } from './clients.utils';
44
import { ClientsModuleOptions } from './interfaces/clients-module.interface';
55

0 commit comments

Comments
 (0)