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 eafc0a1 commit 71c11d6Copy full SHA for 71c11d6
1 file changed
test/parallel/test-global.js
@@ -34,17 +34,18 @@ baseFoo = 'foo'; // eslint-disable-line no-undef
34
global.baseBar = 'bar';
35
36
assert.strictEqual(global.baseFoo, 'foo',
37
- 'x -> global.x in base level not working');
+ `x -> global.x failed: global.baseFoo = ${global.baseFoo}`);
38
39
assert.strictEqual(baseBar, // eslint-disable-line no-undef
40
'bar',
41
- 'global.x -> x in base level not working');
+ // eslint-disable-next-line no-undef
42
+ `global.x -> x failed: baseBar = ${baseBar}`);
43
44
const mod = require(fixtures.path('global', 'plain'));
45
const fooBar = mod.fooBar;
46
-assert.strictEqual(fooBar.foo, 'foo', 'x -> global.x in sub level not working');
47
+assert.strictEqual(fooBar.foo, 'foo');
48
-assert.strictEqual(fooBar.bar, 'bar', 'global.x -> x in sub level not working');
49
+assert.strictEqual(fooBar.bar, 'bar');
50
51
assert.strictEqual(Object.prototype.toString.call(global), '[object global]');
0 commit comments