Replies: 2 comments 1 reply
-
Hi @bradhowes, the test failure is that an unimplemented clock is being accessed. Most likely it is being accessed in some effect or other escaping context that runs after the test finishes, which causes it to bleed over in other tests. And that explains why running the test by itself does not fail, because the failure is happening after the test finishes and so is not caught by the test runner. You will need to track down exactly which test is accessing this dependency and override it. Note that these kinds of failures don't typically happen with |
Beta Was this translation helpful? Give feedback.
-
Hi @mbrandonw -- thanks for the quick response. I do setup an |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In my AUv3Controls package I have some tests for the reducers and they seem to be running fine. I tried adding snapshot testing for view renders, and that ended up working OK. However, the strange part is if I run all tests (⌘U) then I get test failures in ONE
previously-working render test, but there is no info about the failure in the code editor, just a red test marker.
In the console, I see:
But again the tests run just fine on their own, as an ensemble in the test class, OR if I comment out the
sole snapshot test.
Again I am only seeing this for one test, not others. Very perplexing.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions