(keyValues)
| 50 | }); |
| 51 | |
| 52 | function expectStorage(keyValues) { |
| 53 | const list = []; |
| 54 | for (const k in keyValues) { |
| 55 | list.push( |
| 56 | storage.get(k).then((value) => { |
| 57 | const expectedValue = keyValues[k]; |
| 58 | expect(value).to.equal(expectedValue, `For "${k}"`); |
| 59 | }) |
| 60 | ); |
| 61 | } |
| 62 | return Promise.all(list); |
| 63 | } |
| 64 | |
| 65 | it('should configure store correctly', () => { |
| 66 | const store1 = new Store({}); |
no test coverage detected