Skip to content

Commit 21a90f7

Browse files
committed
Fix test on Node.js 20
1 parent 220be79 commit 21a90f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/language-server/test/code-action.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ test('organize imports', async () => {
4343
const codeAction = codeActions
4444
.filter((c) => CodeAction.is(c))
4545
.find((c) => c.kind === 'source.organizeImports')
46+
delete codeAction?.data
4647

47-
assert.partialDeepStrictEqual(codeAction, {
48-
data: {},
48+
assert.deepEqual(codeAction, {
4949
diagnostics: [],
5050
edit: {
5151
documentChanges: [

0 commit comments

Comments
 (0)