[css] enable tests (fixes #74937)

This commit is contained in:
Martin Aeschlimann
2019-06-06 09:49:55 +02:00
parent b77b0defc4
commit 3ce5cb0e02
2 changed files with 17 additions and 13 deletions

View File

@@ -67,13 +67,13 @@ suite('Links', () => {
);
});
// test('url links', function () {
test('node module resolving', function () {
// let testUri = getTestResource('about.css');
// let folders = [{ name: 'x', uri: getTestResource('') }];
let testUri = getTestResource('about.css');
let folders = [{ name: 'x', uri: getTestResource('') }];
// assertLinks('html { background-image: url("~foo/hello.html|")',
// [{ offset: 29, value: '"~foo/hello.html"', target: getTestResource('node_modules/foo/hello.html') }], testUri, folders
// );
// });
assertLinks('html { background-image: url("~foo/hello.html|")',
[{ offset: 29, value: '"~foo/hello.html"', target: getTestResource('node_modules/foo/hello.html') }], testUri, folders
);
});
});