@nestjs/testing 9.3.0-beta.1 → 9.3.0-beta.2
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
|
@@ -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
|
-
?
|
|
50
|
-
:
|
|
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();
|