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
I am trying to assert strings equality and comparisons for strings with unknown case so I'd find useful a conversion operator (toLower/toUpper) or maybe assert functions with caseInsensitive param (not so great option). I can easily fix my issue now but your plugin is a good idea and might benefit from such additions.
Thanks for the nice addition to chai.
The text was updated successfully, but these errors were encountered:
Not in my case as I needed to compare only parts of the strings (variable length, may be at the start of the string, in the middle, anywhere).
I think a more general converter would be useful to place somewhere in the chain, i.e. toLowerCase and after that you can apply all of your tests but on the lowercase version of your string.
More of a feature request than an issue here:
I am trying to assert strings equality and comparisons for strings with unknown case so I'd find useful a conversion operator (
toLower
/toUpper
) or maybe assert functions withcaseInsensitive
param (not so great option). I can easily fix my issue now but your plugin is a good idea and might benefit from such additions.Thanks for the nice addition to chai.
The text was updated successfully, but these errors were encountered: