Change:
model.dispose(); mode.dispose(); }); <ins> test('deleteInsideWord - empty line', () => { withTestCodeEditor([ 'Line1', '', 'Line2' ], {}, (editor, _) => { const model = editor.getModel()!; editor.setPosition(new Position(2, 1)); deleteInsideWord(editor); assert.equal(model.getValue(), 'Line1nLine2'); }); }); test('deleteInsideWord - in whitespace 1', () => { withTestCodeEditor([ 'Just  some text.' ], {}, (editor, _) => { const model = editor.getModel()!; editor.setPosition(new Position(1, 6)); deleteInsideWord(editor); assert.equal(model.getValue(), 'Justsome text.'); }); }); test('deleteInsideWord - in whitespace 2', () => { withTestCodeEditor([ 'Just     some text.' ], {}, (editor, _) => { const model = editor.getModel()!; editor.setPosition(new Position(1, 6)); deleteInsideWord(editor); assert.equal(model.getValue(), 'Justsome text.'); }); }); test('deleteInsideWord - in whitespace 3', () => { withTestCodeEditor([ 'Just     "some text.' ], {}, (editor, _) => { const model = editor.getModel()!; editor.setPosition(new Position(1, 6)); deleteInsideWord(editor); assert.equal(model.getValue(), 'Just"some text.'); deleteInsideWord(editor); assert.equal(model.getValue(), '"some text.'); deleteInsideWord(editor); assert.equal(model.getValue(), 'some text.'); deleteInsideWord(editor); assert.equal(model.getValue(), 'text.'); deleteInsideWord(editor); assert.equal(model.getValue(), '.'); deleteInsideWord(editor); assert.equal(model.getValue(), ''); deleteInsideWord(editor); assert.equal(model.getValue(), ''); }); }); test('deleteInsideWord - in non-words', () => { withTestCodeEditor([ 'x=3+4+5+6' ], {}, (editor, _) => { const model = editor.getModel()!; editor.setPosition(new Position(1, 7)); deleteInsideWord(editor); assert.equal(model.getValue(), 'x=3+45+6'); deleteInsideWord(editor); assert.equal(model.getValue(), 'x=3++6'); deleteInsideWord(editor); assert.equal(model.getValue(), 'x=36'); deleteInsideWord(editor); assert.equal(model.getValue(), 'x='); deleteInsideWord(editor); assert.equal(model.getValue(), 'x'); deleteInsideWord(editor); assert.equal(model.getValue(), ''); deleteInsideWord(editor); assert.equal(model.getValue(), ''); }); }); test('deleteInsideWord - in words 1', () => { withTestCodeEditor([ 'This is interesting' ], {}, (editor, _) => { const model = editor.getModel()!; editor.setPosition(new Position(1, 7)); deleteInsideWord(editor); assert.equal(model.getValue(), 'This interesting'); deleteInsideWord(editor); assert.equal(model.getValue(), 'This'); deleteInsideWord(editor); assert.equal(model.getValue(), ''); deleteInsideWord(editor); assert.equal(model.getValue(), ''); }); }); test('deleteInsideWord - in words 2', () => { withTestCodeEditor([ 'This  is  interesting' ], {}, (editor, _) => { const model = editor.getModel()!; editor.setPosition(new Position(1, 7)); deleteInsideWord(editor); assert.equal(model.getValue(), 'This  interesting'); deleteInsideWord(editor); assert.equal(model.getValue(), 'This'); deleteInsideWord(editor); assert.equal(model.getValue(), ''); deleteInsideWord(editor); assert.equal(model.getValue(), ''); }); }); </ins> });

Discussion:
<!-- Do Not Delete This! featurerequesttemplate --<!-- Please read our Rules of Conduct: --<!-- Please search existing issues to avoid creating duplicates. --<!-- Describe the feature you'd like. --The 'deleteWordLeft' command cannot delete letters on right side of the cursor. We want new function which can delete the whole word. (We submit this issue formally. Sorry.)
To verify, please look for a "Delete Word" action that you can bind to a keybinding if you wish to. The action will delete the current word under the cursor (both to the left and to the right of the cursor) and will delete any trailing whitespace.
I've checked. I could find the "Delete Word" action and bind a keybinding to it. The function works properly. Thank you!