We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 059cb47 commit e5abec4Copy full SHA for e5abec4
adapter-tests/unit-tests.js
@@ -51,6 +51,10 @@ module.exports = function testAdapter(options) {
51
});
52
53
54
+ it('should return empty list of views when key has no views', async () => {
55
+ expect(await adapter.get('/c-key')).toEqual({ views: [] });
56
+ });
57
+
58
it('should return all saves on getAll', async () => {
59
await adapter.put('/a-key', { views: [{ time: 1490623474639 }] });
60
await adapter.put('/another-key', { views: [{ time: 1490623474639 }] });
0 commit comments