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
After upgrading from 5.0.6 to 6.1.0, if there's an else, the iff predicate check is skipped and only the else is evaluated. I'm using this in the after hook with something like this:
The easiest way I found to reproduce this is to add a missing unit tests in if-esle.test.ts and do npm run test which fails for that specific use case.
This is the test I added to check:
Steps to reproduce
Version: 6.1.0 with feathers version 4.5.15
After upgrading from 5.0.6 to 6.1.0, if there's an else, the iff predicate check is skipped and only the else is evaluated. I'm using this in the after hook with something like this:
This works fine if it's only iff .
The easiest way I found to reproduce this is to add a missing unit tests in if-esle.test.ts and do
npm run test
which fails for that specific use case.This is the test I added to check:
From what I can tell, I think that this might have been introduced with the 6.0 ts port.
Is this already a known issue? Am I using this wrong?
The text was updated successfully, but these errors were encountered: