Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! module: warn on using unfinished circular dependency
  • Loading branch information
addaleax committed Oct 11, 2019
commit dd1cdfa7801429935ee1e866c89e32ce514427f5
4 changes: 3 additions & 1 deletion test/fixtures/cycles/warning-b.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
require('./warning-a.js').missingPropB;
const a = require('./warning-a.js');
a.missingPropB;
a[Symbol('someSymbol')];
2 changes: 2 additions & 0 deletions test/parallel/test-module-circular-dependency-warning.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ common.expectWarning({
Warning: [
["Accessing non-existent property 'missingPropB' " +
'of module exports inside circular dependency'],
["Accessing non-existent property 'Symbol(someSymbol)' " +
'of module exports inside circular dependency'],
["Accessing non-existent property 'missingPropModuleExportsB' " +
'of module exports inside circular dependency']
]
Expand Down