Skip to content

Commit 987d5bd

Browse files
committed
test: remove excess casting of actions
1 parent a80e4d9 commit 987d5bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/adapters/code-action-adapter.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ describe("CodeActionAdapter", () => {
7575
},
7676
])
7777

78-
expect((actions as any).length).to.equal(1)
79-
const codeAction = (actions as any)[0]
78+
expect(actions.length).to.equal(1)
79+
const codeAction = actions[0]
8080
expect(await codeAction.getTitle()).to.equal("Test Command")
8181
await codeAction.apply()
8282
expect((languageClient as any).executeCommand.called).to.be.true

0 commit comments

Comments
 (0)