MCPcopy
hub / github.com/preactjs/preact / assertLog

Function assertLog

compat/test/browser/useSyncExternalStore.test.jsx:45–48  ·  view source on GitHub ↗
(expected)

Source from the content-addressed store, hash-verified

43 }
44
45 function assertLog(expected) {
46 expect(Scheduler.logs).to.deep.equal(expected);
47 Scheduler.logs = [];
48 }
49
50 function Text({ text }) {
51 Scheduler.log(text);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…