Repository navigation
JS unit tests fix - use toBeUndefined() instead of toEqual(null) - #11931
Conversation
|
Passing locally as well 👍 |
|
Side note: @MorrisJobke and I have different results on our local envs. We still can't explain the discrepancy, but as stated above it is better to fix the test anyway. |
|
👍 pass for me as well |
|
The inspection completed: No new issues |
|
🚀 Test PASSed. 🚀 |
JS unit tests fix - use toBeUndefined() instead of toEqual(null)
|
@MorrisJobke can you backport this ? Unit tests fail on stable7 now without this fix. (CC @karlitschek) |
|
Actually I'll backport this myself |
|
stable7: 32625af |
|
thanks @PVince81 |
cc @PVince81 @LukasReschke
This also makes more sense as the value shouldn't be there
Somehow my env is more strict because it doesn't accept
undefinedto be the same asnull