Skip to content

Commit fbb9199

Browse files
committed
chore: fix esm tests on node 23+
1 parent dc45471 commit fbb9199

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/esm.js

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ describe('import()', () => {
2121

2222
expect(Object.keys(Bell)).to.equal([
2323
'default',
24+
...(process.version.match(/^v(\d+)/)[1] >= 23 ? ['module.exports'] : []),
2425
'oauth',
2526
'plugin',
2627
'providers',

0 commit comments

Comments
 (0)