Sha256: 76492d0373c53a58a907626afe5985e4a366f53a43dbf38e303e0f481e5b0bd1
Contents?: true
Size: 419 Bytes
Versions: 4
Compression:
Stored size: 419 Bytes
Contents
describe("toBeUndefined", function() { it("passes for undefined values", function() { var matcher = j$.matchers.toBeUndefined(), result; result = matcher.compare(void 0); expect(result.pass).toBe(true); }); it("fails when matching defined values", function() { var matcher = j$.matchers.toBeUndefined(); result = matcher.compare('foo'); expect(result.pass).toBe(false); }) });
Version data entries
4 entries across 4 versions & 1 rubygems