@nestjs/testing 8.4.0 → 8.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestjs/testing",
3
- "version": "8.4.0",
3
+ "version": "8.4.1",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@testing)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",
@@ -75,7 +75,7 @@ class TestingModuleBuilder {
75
75
  createModule(metadata) {
76
76
  class RootTestModule {
77
77
  }
78
- common_1.Module(metadata)(RootTestModule);
78
+ (0, common_1.Module)(metadata)(RootTestModule);
79
79
  return RootTestModule;
80
80
  }
81
81
  applyLogger() {
package/testing-module.js CHANGED
@@ -17,12 +17,12 @@ class TestingModule extends core_1.NestApplicationContext {
17
17
  return this.createAdapterProxy(instance, httpAdapter);
18
18
  }
19
19
  createNestMicroservice(options) {
20
- const { NestMicroservice } = load_package_util_1.loadPackage('@nestjs/microservices', 'TestingModule', () => require('@nestjs/microservices'));
20
+ const { NestMicroservice } = (0, load_package_util_1.loadPackage)('@nestjs/microservices', 'TestingModule', () => require('@nestjs/microservices'));
21
21
  this.applyLogger(options);
22
22
  return new NestMicroservice(this.container, options, this.applicationConfig);
23
23
  }
24
24
  createHttpAdapter(httpServer) {
25
- const { ExpressAdapter } = load_package_util_1.loadPackage('@nestjs/platform-express', 'NestFactory', () => require('@nestjs/platform-express'));
25
+ const { ExpressAdapter } = (0, load_package_util_1.loadPackage)('@nestjs/platform-express', 'NestFactory', () => require('@nestjs/platform-express'));
26
26
  return new ExpressAdapter(httpServer);
27
27
  }
28
28
  applyLogger(options) {