Skip to content

Commit

Permalink
fix yet another flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
electronicbites committed Oct 5, 2024
1 parent 9904426 commit 76ca4c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/radiator/outline_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,9 @@ defmodule Radiator.OutlineTest do
nested_node_2: nested_node_2
} do
assert %NodeRepoResult{children: children} = Outline.remove_node(node_3)
assert children == [nested_node_1, nested_node_2]
assert Enum.count(children) == 2
assert Enum.member?(children, nested_node_1)
assert Enum.member?(children, nested_node_2)
end

test "when top parent gets deleted the whole tree will be gone", %{
Expand Down

0 comments on commit 76ca4c2

Please sign in to comment.