From 0fda1098c0f91798ec461beb6a0e4b05e7686a25 Mon Sep 17 00:00:00 2001 From: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Wed, 20 Nov 2024 14:42:09 -0800 Subject: [PATCH] chore: bump emmet-helper (#234295) --- extensions/emmet/package-lock.json | 6 +++--- extensions/emmet/src/test/completion.test.ts | 15 +++++++++++---- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/extensions/emmet/package-lock.json b/extensions/emmet/package-lock.json index 131ce396758..cadbf5387a8 100644 --- a/extensions/emmet/package-lock.json +++ b/extensions/emmet/package-lock.json @@ -90,9 +90,9 @@ } }, "node_modules/@vscode/emmet-helper": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@vscode/emmet-helper/-/emmet-helper-2.10.0.tgz", - "integrity": "sha512-UHw1EQRgLbSYkyB73/7wR/IzV6zTBnbzEHuuU4Z6b95HKf2lmeTdGwBIwspWBSRrnIA1TI2x2tetBym6ErA7Gw==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@vscode/emmet-helper/-/emmet-helper-2.11.0.tgz", + "integrity": "sha512-QLxjQR3imPZPQltfbWRnHU6JecWTF1QSWhx3GAKQpslx7y3Dp6sIIXhKjiUJ/BR9FX8PVthjr9PD6pNwOJfAzw==", "license": "MIT", "dependencies": { "emmet": "^2.4.3", diff --git a/extensions/emmet/src/test/completion.test.ts b/extensions/emmet/src/test/completion.test.ts index 97ac6ecff33..4f74ba92e25 100644 --- a/extensions/emmet/src/test/completion.test.ts +++ b/extensions/emmet/src/test/completion.test.ts @@ -22,14 +22,14 @@ suite('Tests for completion in CSS embedded in HTML', () => { }); // https://github.com/microsoft/vscode/issues/79766 - test('#79766, correct region determination', async () => { + test('microsoft/vscode#79766, correct region determination', async () => { await testCompletionProvider('html', `
di|
`, [ { label: 'div', documentation: `
|
` } ]); }); // https://github.com/microsoft/vscode/issues/86941 - test('#86941, widows should be completed after width', async () => { + test('microsoft/vscode#86941, widows should be completed after width', async () => { await testCompletionProvider('css', `.foo { wi| }`, [ { label: 'width: ;', documentation: `width: |;` } ]); @@ -56,14 +56,14 @@ suite('Tests for completion in CSS embedded in HTML', () => { }); // https://github.com/microsoft/vscode/issues/117020 - test('#117020, ! at end of abbreviation should have completion', async () => { + test('microsoft/vscode#117020, ! at end of abbreviation should have completion', async () => { await testCompletionProvider('css', `.foo { bdbn!| }`, [ { label: 'border-bottom: none !important;', documentation: `border-bottom: none !important;` } ]); }); // https://github.com/microsoft/vscode/issues/138461 - test('#138461, JSX array noise', async () => { + test('microsoft/vscode#138461, JSX array noise', async () => { await testCompletionProvider('jsx', 'a[i]', undefined); await testCompletionProvider('jsx', 'Component[a b]', undefined); await testCompletionProvider('jsx', '[a, b]', undefined); @@ -71,6 +71,13 @@ suite('Tests for completion in CSS embedded in HTML', () => { { label: '
', documentation: '
|
' } ]); }); + + // https://github.com/microsoft/vscode-emmet-helper/pull/90 + test('microsoft/vscode-emmet-helper#90', async () => { + await testCompletionProvider('html', 'dialog', [ + { label: '', documentation: '|' } + ]); + }); }); interface TestCompletionItem {