MCPcopy
hub / github.com/tinyplex/tinybase / mocks.ts

File mocks.ts

test/unit/persisters/common/mocks.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {DocHandle, Repo} from '@automerge/automerge-repo';
2import crypto from 'crypto';
3import fs from 'fs';
4import {deleteDB, openDB} from 'idb';

Callers

nothing calls this directly

Calls 15

createMergeableStoreFunction · 0.90
getUniqueIdFunction · 0.90
createOpfsPersisterFunction · 0.90
createRemotePersisterFunction · 0.90
getMockedCustomFunction · 0.85
getMockedStorageFunction · 0.85
closeMethod · 0.80
getMethod · 0.80
putMethod · 0.80
deleteMethod · 0.80
listMethod · 0.80

Tested by

no test coverage detected