mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-11 12:25:59 +03:00
fix: upgrade sinon 5.0.5->5.0.7. prettier 1.14.3->1.15.2
This commit is contained in:
parent
6e63bb3276
commit
72985b983b
2487
package-lock.json
generated
2487
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -692,7 +692,7 @@
|
||||
"@types/lodash": "4.14.118",
|
||||
"@types/mocha": "5.2.5",
|
||||
"@types/node": "9.6.37",
|
||||
"@types/sinon": "5.0.5",
|
||||
"@types/sinon": "5.0.7",
|
||||
"gulp": "4.0.0",
|
||||
"gulp-bump": "3.1.1",
|
||||
"gulp-git": "2.8.0",
|
||||
@ -703,7 +703,7 @@
|
||||
"minimist": "1.2.0",
|
||||
"mocha": "5.2.0",
|
||||
"plugin-error": "1.0.1",
|
||||
"prettier": "1.14.3",
|
||||
"prettier": "1.15.2",
|
||||
"sinon": "7.1.1",
|
||||
"tslint": "5.11.0",
|
||||
"typescript": "3.1.6",
|
||||
|
@ -45,7 +45,9 @@ suite('Basic substitute', () => {
|
||||
});
|
||||
|
||||
test('Replace with `c` flag', async () => {
|
||||
const confirmStub = sinon.stub(SubstituteCommand.prototype, 'confirmReplacement').returns(true);
|
||||
const confirmStub = sinon
|
||||
.stub(SubstituteCommand.prototype, 'confirmReplacement')
|
||||
.resolves(true);
|
||||
await modeHandler.handleMultipleKeyEvents(['i', 'a', 'b', 'a', '<Esc>']);
|
||||
await commandLine.Run('%s/a/d/c', modeHandler.vimState);
|
||||
|
||||
@ -54,7 +56,9 @@ suite('Basic substitute', () => {
|
||||
});
|
||||
|
||||
test('Replace with `gc` flag', async () => {
|
||||
const confirmStub = sinon.stub(SubstituteCommand.prototype, 'confirmReplacement').returns(true);
|
||||
const confirmStub = sinon
|
||||
.stub(SubstituteCommand.prototype, 'confirmReplacement')
|
||||
.resolves(true);
|
||||
await modeHandler.handleMultipleKeyEvents(['i', 'f', 'f', 'b', 'a', 'r', 'f', '<Esc>']);
|
||||
await commandLine.Run('%s/f/foo/gc', modeHandler.vimState);
|
||||
|
||||
@ -238,7 +242,7 @@ suite('Basic substitute', () => {
|
||||
test('Replace with `c` flag inverts global flag', async () => {
|
||||
const confirmStub = sinon
|
||||
.stub(SubstituteCommand.prototype, 'confirmReplacement')
|
||||
.returns(true);
|
||||
.resolves(true);
|
||||
await modeHandler.handleMultipleKeyEvents(['i', 'f', 'f', 'b', 'a', 'r', 'f', '<Esc>']);
|
||||
await commandLine.Run('%s/f/foo/c', modeHandler.vimState);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user