Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
don't run snap tests on non flask
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetrunic committed Nov 2, 2022
1 parent 5421f52 commit c50dc39
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/flask/snaps.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ describe("snaps", function () {
describe("should test snap methods", function () {
let testPage: DappeteerPage;

beforeEach(function (this: TestContext) {
//skip those tests for non flask metamask
if (!this.browser.isMetaMaskFlask()) {
this.skip();
}
});

before(async function (this: TestContext) {
await metamask.snaps.installSnap(
metamask.page,
Expand Down

0 comments on commit c50dc39

Please sign in to comment.