Skip to content

Commit 265f344

Browse files
committed
Attempting to workaround __filename-based assertions
1 parent b4de4bf commit 265f344

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ var strictlib = libs.strict
1212

1313
if (process.env.ENABLE_COREJS_ERROR_POLYFILL) { // cf. PR #48
1414
require('core-js/modules/es.error.cause')
15+
__filename = '<unknown file>' // eslint-disable-line no-global-assign
1516
}
1617

1718
describe('depd(namespace)', function () {

0 commit comments

Comments
 (0)