Skip to content

Commit

Permalink
Merge pull request #88 from SAP/slavik-lvovsky-patch-1
Browse files Browse the repository at this point in the history
Change Confirmation to Summary
  • Loading branch information
slavik-lvovsky authored Jan 12, 2020
2 parents e68ce39 + cd0b3ee commit b8ee28d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export default {
},
generatorDone(success, message, targetPath) {
if (this.currentPrompt.status === "pending") {
this.currentPrompt.name = "Confirmation";
this.currentPrompt.name = "Summary";
}
this.doneMessage = message;
this.donePath = targetPath;
Expand Down
4 changes: 2 additions & 2 deletions frontend/tests/App.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ describe('App.vue', () => {
expect(wrapper.vm.doneMessage).toBe('testMessage')
expect(wrapper.vm.donePath).toBe('/test/path')
expect(wrapper.vm.isDone).toBeTruthy()
expect(wrapper.vm.currentPrompt.name).toBe('Confirmation')
expect(wrapper.vm.currentPrompt.name).toBe('Summary')
expect(window.vscode.postMessage).toHaveBeenCalled()
})
})
Expand Down Expand Up @@ -501,4 +501,4 @@ describe('App.vue', () => {
expect(wrapper.vm.showConsole).toBeFalsy()
})
})
})
})

0 comments on commit b8ee28d

Please sign in to comment.