We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53c6368 commit 1f6b4cbCopy full SHA for 1f6b4cb
test/puppeteer-environment.js
@@ -24,7 +24,7 @@ try {
24
console.log('Using NodeEnvironment directly as constructor');
25
NodeEnvironmentClass = NodeEnvironment;
26
} else if (
27
- NodeEnvironment.default &&
+ NodeEnvironment.default &&
28
typeof NodeEnvironment.default === 'function'
29
) {
30
console.log('Using NodeEnvironment.default as constructor');
@@ -37,7 +37,7 @@ try {
37
console.log('Falling back to direct import');
38
39
}
40
-
+
41
// Verify we have a valid constructor
42
if (typeof NodeEnvironmentClass !== 'function') {
43
console.error(
0 commit comments