wafer/test/support/test_utils.exs

13 lines
214 B
Elixir
Raw Normal View History

2020-01-01 20:25:50 +13:00
defmodule TestUtils do
@moduledoc false
def random_module_name do
name =
16
|> :crypto.strong_rand_bytes()
|> Base.encode64(padding: false)
Module.concat(__MODULE__, name)
end
end