hotfix: try a different workaround to fix flaky bypass test

This commit is contained in:
Andrew Dryga
2024-04-02 13:33:11 -06:00
parent 4bd692bc6c
commit 6e60ca0803

View File

@@ -59,6 +59,7 @@ defmodule Domain.DataCase do
See https://github.com/PSPDFKit-labs/bypass/issues/120
"""
def cancel_bypass_expectations_check(bypass) do
Bypass.down(bypass)
on_exit({Bypass, bypass.pid}, fn -> :ok end)
end
end