Sha256: 396aa71afd0162746c18e990d463e4261e957a13b03a152a88aadd1e9cec7636
Contents?: true
Size: 403 Bytes
Versions: 59
Compression:
Stored size: 403 Bytes
Contents
describe("toBe", function() { it("passes when actual === expected", function() { var matcher = j$.matchers.toBe(), result; result = matcher.compare(1, 1); expect(result.pass).toBe(true); }); it("fails when actual !== expected", function() { var matcher = j$.matchers.toBe(), result; result = matcher.compare(1, 2); expect(result.pass).toBe(false); }); });
Version data entries
59 entries across 59 versions & 4 rubygems