Skip to content

Commit

Permalink
fix: code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Oct 16, 2024
1 parent e653928 commit 435f71d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/homePage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class TestHelper {

constructor(args: TestHelperInput) {
this.currentMember = JSON.parse(JSON.stringify(args.currentMember));
this.setupServer();
}

setupServer() {
Expand Down Expand Up @@ -75,9 +74,10 @@ class TestHelper {
}

describe('Upload Avatar', () => {
let helpers: TestHelper;
beforeEach(() => {
// eslint-disable-next-line no-new
new TestHelper({ currentMember: BOB });
helpers = new TestHelper({ currentMember: BOB });
helpers.setupServer();
cy.visit('/');
});

Expand Down

0 comments on commit 435f71d

Please sign in to comment.