pinchflat/test/pinchflat/utils/function_utils_test.exs
Kieran 933daf8c78
[Housekeeping] Improve test stability (#232)
* Ensured all tests use at least the DataCase module

* addressed one flakey test

* More flakey tests

* Consolidated Mox usage
2024-05-08 09:57:36 -07:00

11 lines
272 B
Elixir

defmodule Pinchflat.Utils.FunctionUtilsTest do
use Pinchflat.DataCase
alias Pinchflat.Utils.FunctionUtils
describe "wrap_ok/1" do
test "wraps the provided term in an :ok tuple" do
assert FunctionUtils.wrap_ok("hello") == {:ok, "hello"}
end
end
end