Skip to content

Commit 5375e7c

Browse files
committed
fix: integ tests failing because emmet hints are now given max priority
1 parent 10eaeb8 commit 5375e7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/extensions/default/CSSCodeHints/unittests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ define(function (require, exports, module) {
170170
testEditor.setCursorPos({ line: 6, ch: 2 });
171171

172172
var hintList = expectHints(CSSCodeHints.cssPropHintProvider);
173-
verifyAttrHints(hintList, "background-color"); // filtered on "b" ,
174-
// background color should come at top as its boosted for UX
173+
verifyAttrHints(hintList, "bottom"); // filtered on "b" ,
174+
// bottom should come at top as it is coming from emmet, and it has the highest priority
175175
});
176176

177177
it("should list all prop-name hints starting with 'bord' ", function () {
@@ -459,7 +459,7 @@ define(function (require, exports, module) {
459459
testEditor.setCursorPos({ line: 6, ch: 2 });
460460

461461
var hintList = expectHints(CSSCodeHints.cssPropHintProvider);
462-
verifyAttrHints(hintList, "background-color"); // filtered on "b"
462+
verifyAttrHints(hintList, "bottom"); // filtered on "b"
463463
});
464464

465465
it("should list all prop-name hints starting with 'bord' for style value context", function () {

0 commit comments

Comments
 (0)