Skip to content

Commit

Permalink
expose general resetstate to synpress
Browse files Browse the repository at this point in the history
Signed-off-by: r3kt.eth <[email protected]>
  • Loading branch information
r3kt-eth committed Aug 17, 2023
1 parent a6417c3 commit 13ae8ae
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions commands/synpress.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const log = require('debug')('synpress:synpress');
const playwright = require('./playwright');
const metamask = require('./metamask');
const helpers = require('../helpers');

module.exports = {
async resetState() {
log('Resetting state of synpress');
await playwright.resetState();
await metamask.resetState();
await helpers.resetState();
},
};

0 comments on commit 13ae8ae

Please sign in to comment.