Much of my testing is done with factories. This has been working, but as of today no test will compile. The error message says module MyApp.Factory is not loaded and could not be found.
My mix.exs file includes the following:
def project do
[
...
elixirc_paths: elixirc_paths(Mix.env()),
...
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
Inside the test/support folder is the file, factory.ex, which includes “MyApp.Factory” at the top.
I’m stumped as to what changed… nothing of substance that I am aware of. Does anyone have any advice?
Thank you