Skip to content

Commit

Permalink
chore(test): improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielefongo committed Sep 12, 2024
1 parent 30aef3f commit fc48bf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/tests/ui/results_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ describe("results", function()
assert.are.same(results_window:get_title(), { title = "", title_pos = "center" })
end)

it("set spinner on title before empty results", function()
it("set spinner on title before results", function()
results_window:set_title("any", "center")
my_events:fire(events.event.new_request)
helpers.wait(results.default_spinner.delay + 10)
Expand All @@ -137,7 +137,7 @@ describe("results", function()
title_pos = "center",
})

helpers.wait(results.default_spinner.interval)
helpers.wait(results.default_spinner.interval + 5)

assert.are.same(results_window:get_title(), {
title = results.default_spinner.symbols[2],
Expand Down

0 comments on commit fc48bf1

Please sign in to comment.