You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In tests, if a previous test returned a value then a following test that was supposed to return undefined will also return that value instead of undefined.
In the described test, we expect all three tests to pass. However, the second one fails because it returns 'pizza resp' (which is the return value from the first test. If the second one is run by itself then it passes. As seen in the third test (that always passes), when returning a value again then it does override the first value and works fine.
Your Environment
Jovo Framework version used: 4.2.14
Operating System: Mac OS (M1)
Node: 16.13.0
Jest: ^27.3.1
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Bug description
In tests, if a previous test returned a value then a following test that was supposed to return undefined will also return that value instead of undefined.
In the described test, we expect all three tests to pass. However, the second one fails because it returns 'pizza resp' (which is the return value from the first test. If the second one is run by itself then it passes. As seen in the third test (that always passes), when returning a value again then it does override the first value and works fine.
Your Environment
The text was updated successfully, but these errors were encountered: