Skip to content

Commit

Permalink
chore: eslint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jschfflr committed Sep 16, 2021
1 parent aef8379 commit 8e8ef33
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/page.spec.ts
Expand Up @@ -343,8 +343,12 @@ describe('Page', function () {
const { page, server, context } = getTestState();

await page.goto(server.EMPTY_PAGE);
expect(await getPermission(page, 'persistent-storage')).not.toBe('granted');
await context.overridePermissions(server.EMPTY_PAGE, ['persistent-storage']);
expect(await getPermission(page, 'persistent-storage')).not.toBe(
'granted'
);
await context.overridePermissions(server.EMPTY_PAGE, [
'persistent-storage',
]);
expect(await getPermission(page, 'persistent-storage')).toBe('granted');
});
});
Expand Down

0 comments on commit 8e8ef33

Please sign in to comment.