MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / test

Function test

tests/modules/io/storage/formats.js:38–41  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

36
37if (supportsFormat(store, "string")) {
38 const test = function(value) {
39 store.write("string", value);
40 assert.sameValue(store.read("string"), value);
41 }
42 test("123");
43 test("");
44 test("with a space");

Callers 1

formats.jsFile · 0.70

Calls 2

writeMethod · 0.65
readMethod · 0.65

Tested by

no test coverage detected