MCPcopy Create free account
hub / github.com/denoland/std / fn

Function fn

assert/equals_test.ts:35–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33Deno.test({
34 name: "assertEquals() matches when values are equal",
35 fn() {
36 assertEquals({ a: 10 }, { a: 10 });
37 assertEquals(true, true);
38 assertEquals(10, 10);
39 assertEquals("abc", "abc");
40 assertEquals({ a: 10, b: { c: "1" } }, { a: 10, b: { c: "1" } });
41 assertEquals(new Date("invalid"), new Date("invalid"));
42 },
43});
44
45Deno.test({

Callers 2

assertRejectsFunction · 0.70
assertThrowsFunction · 0.70

Calls 6

assertEqualsFunction · 0.90
assertThrowsFunction · 0.90
yellowFunction · 0.90
createHeaderFunction · 0.70
removedFunction · 0.70
addedFunction · 0.70

Tested by

no test coverage detected