MCPcopy
hub / github.com/withastro/astro / mutable-data-store.test.ts

File mutable-data-store.test.ts

packages/astro/test/units/content-collections/mutable-data-store.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, before, after } from 'node:test';
2import { strict as assert } from 'node:assert';
3import { promises as fs } from 'node:fs';
4import { mkdtemp, rm } from 'node:fs/promises';

Callers

nothing calls this directly

Calls 11

imageSrcToImportIdFunction · 0.85
scopedStoreMethod · 0.80
writeAssetImportsMethod · 0.80
waitUntilSaveCompleteMethod · 0.80
fromFileMethod · 0.80
writeToDiskMethod · 0.80
setMethod · 0.65
deleteMethod · 0.65
getMethod · 0.65
hasMethod · 0.65
clearMethod · 0.45

Tested by

no test coverage detected