update vscode-uri, fix links in untited (fixes #147788) (#161108)

This commit is contained in:
Martin Aeschlimann
2022-09-16 16:57:10 +02:00
committed by GitHub
parent c65b01d010
commit 724a088c68
11 changed files with 67 additions and 57 deletions

View File

@@ -68,6 +68,16 @@ suite('Links', () => {
);
});
test('url links - untitled', async function () {
const testUri = 'untitled:untitled-1';
const folders = [{ name: 'x', uri: getTestResource('') }];
await assertLinks('@import url("base.css|");")',
[{ offset: 12, value: '"base.css"', target: 'untitled:base.css' }], testUri, folders
);
});
test('node module resolving', async function () {
const testUri = getTestResource('about.css');