Skip to content

Commit 84961d4

Browse files
committed
Fixes unit test for mehod meta data where instance was removed because only the prototype was being used.
1 parent cd9cb82 commit 84961d4

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

packages/microservices/test/listeners-metadata-explorer.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,13 @@ describe('ListenerMetadataExplorer', () => {
6161
});
6262
it(`should return undefined when "handlerType" metadata is undefined`, () => {
6363
const metadata = instance.exploreMethodMetadata(
64-
test,
6564
Object.getPrototypeOf(test),
6665
'noPattern',
6766
);
6867
expect(metadata).to.eq(undefined);
6968
});
7069
it(`should return pattern properties when "handlerType" metadata is not undefined`, () => {
7170
const metadata = instance.exploreMethodMetadata(
72-
test,
7371
Object.getPrototypeOf(test),
7472
'test',
7573
);

0 commit comments

Comments
 (0)