+1 to using strictEqual. It should be a proper boolean when the type is boolean.