MCPcopy
hub / github.com/mobxjs/mobx-state-tree / optimizations.test.ts

File optimizations.test.ts

__tests__/core/optimizations.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { getSnapshot, applySnapshot, unprotect, types } from "../../src"
2import { expect, test } from "bun:test"
3
4test("it should avoid processing patch if is exactly the current one in applySnapshot", () => {

Callers

nothing calls this directly

Calls 5

getSnapshotFunction · 0.90
applySnapshotFunction · 0.90
unprotectFunction · 0.90
createMethod · 0.80
testFunction · 0.70

Tested by

no test coverage detected