(sleep)
| 13 | const VALUE = 'world'; |
| 14 | |
| 15 | function wait(sleep) { |
| 16 | return new Promise(function (resolve) { |
| 17 | setTimeout(resolve, sleep); |
| 18 | }); |
| 19 | } |
| 20 | |
| 21 | it('should destroy a expire items in the cache', done => { |
| 22 | const cache = new InMemoryCache(BASE_TTL); |
no outgoing calls
no test coverage detected
searching dependent graphs…