Add command palette empty-state regression test

This commit is contained in:
Lawrence Chen 2026-03-30 18:47:42 -07:00
parent 8979c8cabe
commit 2877e2c80a
No known key found for this signature in database

View file

@ -485,8 +485,8 @@ final class CommandPaletteSearchEngineTests: XCTestCase {
)
}
func testPendingEmptyStateIsPreservedWhenRefiningAResolvedNoMatchQuery() {
XCTAssertTrue(
func testPendingEmptyStateIsNotPreservedWhileSearchIsStillPending() {
XCTAssertFalse(
ContentView.commandPaletteShouldPreserveEmptyStateWhileSearchPending(
isSearchPending: true,
visibleResultsScopeMatches: true,