We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey,
I have 2 test cases in 2 different folders in the test folder that mock the same function and then asserts that this function has been called.
with_mock(CoolModule, do_something: fn _ -> :ok end
and then at the end
assert_called(CoolModule.do_something(2))
One of the tests, always the same fails if I run the tests together.
If I run the failing test by itself then it passes, or if I comment out the other test that also makes the test pass.
If I put a sleep in the failing test that also makes it pass.
I have async: false set on the test module.
Any ideas why this could be?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey,
I have 2 test cases in 2 different folders in the test folder that mock the same function and then asserts that this function has been called.
with_mock(CoolModule, do_something: fn _ -> :ok end
and then at the end
assert_called(CoolModule.do_something(2))
One of the tests, always the same fails if I run the tests together.
If I run the failing test by itself then it passes, or if I comment out the other test that also makes the test pass.
If I put a sleep in the failing test that also makes it pass.
I have async: false set on the test module.
Any ideas why this could be?
The text was updated successfully, but these errors were encountered: