Skip to content

Commit 7e66973

Browse files
authored
Merge branch 'main' into simplify-data-structure
2 parents 1e86f0f + 64e8038 commit 7e66973

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension/src/test/suite/plots/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,13 +1215,13 @@ suite('Plots Test Suite', () => {
12151215
plotsDiff: plotsDiffFixture
12161216
})
12171217

1218-
const executeCommandSpy = spy(commands, 'executeCommand')
1218+
const mockExecuteCommand = stub(commands, 'executeCommand')
12191219

12201220
mockMessageReceived.fire({
12211221
type: MessageFromWebviewType.ADD_PIPELINE_PLOT
12221222
})
12231223

1224-
expect(executeCommandSpy).to.be.calledWithExactly(
1224+
expect(mockExecuteCommand).to.be.calledWithExactly(
12251225
RegisteredCommands.PIPELINE_ADD_PLOT,
12261226
dvcDemoPath
12271227
)

0 commit comments

Comments
 (0)