Skip to content

Commit 9cb8882

Browse files
committed
fix: find in files legacy integ tests failing
1 parent 5fcdb34 commit 9cb8882

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/spec/FindInFiles-integ-test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ define(function (require, exports, module) {
403403
expect($(".modal-bar").length).toBe(1);
404404
});
405405

406-
it("should keep dialog and not show panel when there are no results", async function () {
406+
it("should keep dialog and show no-results panel when there are no results", async function () {
407407
var filePath = testPath + "/bar.txt",
408408
fileEntry = FileSystem.getFileForPath(filePath);
409409

@@ -424,7 +424,8 @@ define(function (require, exports, module) {
424424
}
425425
expect(resultFound).toBe(false);
426426

427-
expect($("#find-in-files-results").is(":visible")).toBeFalsy();
427+
expect($("#find-in-files-results").is(":visible")).toBeTruthy();
428+
expect($("#find-in-files-results").hasClass("search-no-results")).toBeTrue();
428429
expect($(".modal-bar").length).toBe(1);
429430

430431
// Close search bar

0 commit comments

Comments
 (0)