From 36dd6b07d1551e01f39ba5c430897879288ee455 Mon Sep 17 00:00:00 2001 From: Matt McCherry Date: Tue, 10 Dec 2024 11:39:44 +0000 Subject: [PATCH] add integration test for a falsy value --- spec/core/integration/MatchersSpec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/core/integration/MatchersSpec.js b/spec/core/integration/MatchersSpec.js index 223b4a16..ee8ce2c1 100755 --- a/spec/core/integration/MatchersSpec.js +++ b/spec/core/integration/MatchersSpec.js @@ -481,6 +481,10 @@ describe('Matchers (Integration)', function() { verifyFails(function(env) { env.expect(1).toBeNullish(); }); + + verifyFails(function(env) { + env.expect('').toBeNullish(); + }); }); describe('toContain', function() {