Closed kettanaito closed 3 months ago
Ok, so this is why you're getting this error:
If the tests are browser-based, but the app is not then you'll get this error.
I think the solution is indeed to have a mechanism for disabling the test tab. I've really wanted to avoid configuration like this, but I think we should probably just have a config option for it.
Forgot to mention this issue, but it's fixed: https://github.com/epicweb-dev/epicshop/commit/5708376c8ea62f7e7723539a4b7288caeb89d7db
Thank you, @kentcdodds! Confirm it working.
The "Tests" tab in the Mocking Techniques workshop looks like this:
For some reason, the
app.test.type
for the tests there is (probably)none
(expectedbrowser
).Perhaps there's a way to disable the Tests tab altogether? While there's nothing Node-specific in my tests, @kentcdodds mentioned running tests may not behave entirely as expected for non-browser tests.