Skip to content

Commit e66a645

Browse files
committed
Run tests in Node.js 23
1 parent 9812fb0 commit e66a645

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/nodejs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
strategy:
5555
matrix:
56-
node-version: ['18', '20', '22']
56+
node-version: ['18', '20', '22', '23']
5757

5858
steps:
5959
- uses: actions/checkout@v4

test/import.spec.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ it
1919
'fix',
2020
'format',
2121
'formatEach',
22+
...actual.length === 9 ? ['module.exports'] : undefined,
2223
'result',
2324
'results',
2425
];

0 commit comments

Comments
 (0)