MCPcopy Create free account
hub / github.com/annotorious/annotorious / Store.test.ts

File Store.test.ts

packages/annotorious-core/test/state/Store.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, vi } from 'vitest';
2import { dequal } from 'dequal/lite';
3import { createStore, Origin } from '../../src/state';
4import type { Annotation } from 'src';

Callers

nothing calls this directly

Calls 8

createStoreFunction · 0.90
addAnnotationMethod · 0.80
getAnnotationMethod · 0.80
addBodyMethod · 0.80
deleteAnnotationMethod · 0.80
deleteBodyMethod · 0.80
clearMethod · 0.80
updateAnnotationMethod · 0.65

Tested by

no test coverage detected