chore: bump emmet-helper (#234295)
This commit is contained in:
Родитель
6306259d87
Коммит
0fda1098c0
|
@ -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",
|
||||
|
|
|
@ -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', `<div style="color: #000">di|</div>`, [
|
||||
{ label: 'div', documentation: `<div>|</div>` }
|
||||
]);
|
||||
});
|
||||
|
||||
// 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: '<div a="b"></div>', documentation: '<div a="b">|</div>' }
|
||||
]);
|
||||
});
|
||||
|
||||
// https://github.com/microsoft/vscode-emmet-helper/pull/90
|
||||
test('microsoft/vscode-emmet-helper#90', async () => {
|
||||
await testCompletionProvider('html', 'dialog', [
|
||||
{ label: '<dialog></dialog>', documentation: '<dialog>|</dialog>' }
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
interface TestCompletionItem {
|
||||
|
|
Загрузка…
Ссылка в новой задаче