()
| 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; |
no test coverage detected