Fix a few more emmet errors for strict null

This commit is contained in:
Matt Bierner
2017-11-20 14:29:29 -08:00
parent 336e9cebf5
commit 86999bb82b
8 changed files with 40 additions and 16 deletions

View File

@@ -54,7 +54,7 @@ suite('Tests for Emmet actions on html tags', () => {
new Selection(11, 50, 11, 50)
];
return updateImageSize().then(() => {
return updateImageSize()!.then(() => {
assert.equal(doc.getText(), expectedContents);
return Promise.resolve();
});
@@ -111,7 +111,7 @@ suite('Tests for Emmet actions on html tags', () => {
new Selection(13, 50, 13, 50)
];
return updateImageSize().then(() => {
return updateImageSize()!.then(() => {
assert.equal(doc.getText(), expectedContents);
return Promise.resolve();
});
@@ -140,7 +140,7 @@ suite('Tests for Emmet actions on html tags', () => {
new Selection(4, 50, 4, 50)
];
return updateImageSize().then(() => {
return updateImageSize()!.then(() => {
assert.equal(doc.getText(), expectedContents);
return Promise.resolve();
});