Skip to content

Commit 197b5de

Browse files
committed
fix: css class name hints integ tests
1 parent bcae439 commit 197b5de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/extensions/default/HTMLCodeHints/integ-tests.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ define(function (require, exports, module) {
289289
it("should be able to add the class name by selecting the code hint", async function () {
290290
await openFile("inlineStyle.html", true);
291291
await openFile("cssLive.css", true);
292-
const cssClassName = StringUtils.randomString(5, "cls");
292+
// this prefix is aaa as we need it as the top code hint
293+
const cssClassName = StringUtils.randomString(5, "aaa");
293294
setText({ line: 0, ch: 0 }, `.${cssClassName}{}\n`);
294295

295296
await openFile("inlineStyle.html", true);

0 commit comments

Comments
 (0)