@nestjs/testing 9.3.0-beta.1 → 9.3.0-beta.3

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": "9.3.0-beta.1",
3
+ "version": "9.3.0-beta.3",
4
4
  "description": "Nest - modern, fast, powerful node.js web framework (@testing)",
5
5
  "author": "Kamil Mysliwiec",
6
6
  "license": "MIT",
@@ -46,8 +46,8 @@ class TestingModuleBuilder {
46
46
  async compile(options = {}) {
47
47
  this.applyLogger();
48
48
  const graphInspector = (options === null || options === void 0 ? void 0 : options.snapshot)
49
- ? noop_graph_inspector_1.NoopGraphInspector
50
- : new graph_inspector_1.GraphInspector(this.container);
49
+ ? new graph_inspector_1.GraphInspector(this.container)
50
+ : noop_graph_inspector_1.NoopGraphInspector;
51
51
  const scanner = new scanner_1.DependenciesScanner(this.container, this.metadataScanner, graphInspector, this.applicationConfig);
52
52
  await scanner.scan(this.module);
53
53
  this.applyOverloadsMap();