We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 549f8aa commit e667237Copy full SHA for e667237
2 files changed
src/main.ts
@@ -10,3 +10,4 @@ if (environment.production) {
10
11
platformBrowserDynamic().bootstrapModule(AppModule)
12
.catch(err => console.error(err));
13
+
src/test.ts
@@ -18,3 +18,13 @@ getTestBed().initTestEnvironment(
18
const context = require.context('./', true, /\.spec\.ts$/);
19
// And load the modules.
20
context.keys().map(context);
21
22
+global['nw'] = {
23
+ process: {
24
+ versions: {
25
+ nw: '0.39.2',
26
+ node: '12.3.1',
27
+ chromium: '75.0.3770.90'
28
+ }
29
30
+};
0 commit comments