import m from '../../../../resources/plugins/bookmarks';

describe('retrieve bookmarks', () => {
  it('should return something', async () => {
    const data = await m.execute('GitHub', { size: 20 });
    if (process.platform === 'darwin') {
      expect(data).toBeTruthy();
      expect(data.items instanceof Array).toBeTruthy();
    } else {
      expect(data).toEqual([]);
    }
  });
});

@@ -119,16 +119,38 @@
 omething
+ with options supplied
 ', async
@@ -402,13 +402,311 @@
  %7D%0A  %7D);
+%0A%0A  it('should return something with missing options', async () =%3E %7B%0A    const data = await m.execute('Github')%0A    if (process.platform === 'darwin') %7B%0A      expect(data).toBeTruthy();%0A      expect(data.items instanceof Array).toBeTruthy();%0A    %7D else %7B%0A      expect(data).toEqual(%5B%5D);%0A    %7D%0A  %7D);
 %0A%7D);%0A

Test bookmarks (#63)