From 06753de2dd767995a7d5b4def95a78b2ff50b83f Mon Sep 17 00:00:00 2001 From: Ramya Achutha Rao Date: Wed, 23 Aug 2017 23:07:13 -0700 Subject: [PATCH] Update imgSize tests to not use local file to fix build break --- .../emmet/src/test/updateImageSize.test.ts | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/extensions/emmet/src/test/updateImageSize.test.ts b/extensions/emmet/src/test/updateImageSize.test.ts index 6c648dd9485..2fadbe94d58 100644 --- a/extensions/emmet/src/test/updateImageSize.test.ts +++ b/extensions/emmet/src/test/updateImageSize.test.ts @@ -25,7 +25,7 @@ suite('Tests for Emmet actions on html tags', () => { height: 42px; } .three { - background-image: url(${filePath}); + background-image: url(https://github.com/Microsoft/vscode/blob/master/resources/linux/code.png); width: 42px; } `; @@ -43,9 +43,9 @@ suite('Tests for Emmet actions on html tags', () => { height: 32px; } .three { - background-image: url(${filePath}); - height: 1024px; - width: 1024px; + background-image: url(https://github.com/Microsoft/vscode/blob/master/resources/linux/code.png); + height: 32px; + width: 32px; } `; return withRandomFileEditor(cssContents, 'css', (editor, doc) => { @@ -76,7 +76,7 @@ suite('Tests for Emmet actions on html tags', () => { height: 42px; } .three { - background-image: url(${filePath}); + background-image: url(https://github.com/Microsoft/vscode/blob/master/resources/linux/code.png); width: 42px; } @@ -98,9 +98,9 @@ suite('Tests for Emmet actions on html tags', () => { height: 32px; } .three { - background-image: url(${filePath}); - height: 1024px; - width: 1024px; + background-image: url(https://github.com/Microsoft/vscode/blob/master/resources/linux/code.png); + height: 32px; + width: 32px; } @@ -122,14 +122,14 @@ suite('Tests for Emmet actions on html tags', () => { test('update image size in img tag in html file with multiple cursors', () => { const htmlwithimgtag = ` - + `; const expectedContents = ` - +