MCPcopy
hub / github.com/ro31337/libretaxi / checkAnother

Function checkAnother

test/stateful-test.js:47–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 t.plan(4);
46
47 const checkAnother = () => {
48 new Demo('another_key').load().then((demo) => {
49 const state = demo.state;
50 t.is(state.foo, 11);
51 t.is(state.bar, 22);
52 t.end();
53 })
54 .catch((err) => {
55 t.fail(`ERR2: ${err}`);
56 });
57 };
58
59 new Demo('test_state_key').load().then((demo) => {
60 const state = demo.state;

Callers 1

stateful-test.jsFile · 0.85

Calls 2

loadMethod · 0.80
failMethod · 0.80

Tested by

no test coverage detected