Skip to content

Commit

Permalink
The term prompt is overloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Feb 14, 2024
1 parent d56b53b commit 2be46e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/extension/kernel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ import { handlePlatformApiMessage } from './messages/platformRequest'
enum ConfirmationItems {
Yes = 'Yes',
No = 'No',
Skip = 'Skip Prompt and run all',
Skip = 'Skip confirmation and run all',
Cancel = 'Cancel',
}

Expand Down
2 changes: 1 addition & 1 deletion tests/extension/kernel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ suite('_executeAll', async () => {
test('skips prompt', async () => {
const k = new Kernel({} as any)
// @ts-ignore readonly
window.showQuickPick = vi.fn().mockResolvedValue('Skip Prompt and run all')
window.showQuickPick = vi.fn().mockResolvedValue('Skip confirmation and run all')
k['_doExecuteCell'] = vi.fn()
await k['_executeAll'](getCells(10))
expect(window.showQuickPick).toBeCalledTimes(1)
Expand Down

0 comments on commit 2be46e4

Please sign in to comment.