MCPcopy
hub / github.com/immutable-js/immutable-js / expectIsNot

Function expectIsNot

__tests__/Equality.ts:13–18  ·  view source on GitHub ↗
(left: unknown, right: unknown)

Source from the content-addressed store, hash-verified

11 }
12
13 function expectIsNot(left: unknown, right: unknown): void {
14 const comparison = is(left, right);
15 expect(comparison).toBe(false);
16 const commutative = is(right, left);
17 expect(commutative).toBe(false);
18 }
19
20 it('uses Object.is semantics', () => {
21 expectIs(null, null);

Callers 1

Equality.tsFile · 0.85

Calls 1

isFunction · 0.85

Tested by

no test coverage detected