Skip to content

Commit

Permalink
trying to fix teh e2e and lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
NiranjanaBinoy committed Jun 26, 2024
1 parent f2005dc commit fd90047
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
10 changes: 5 additions & 5 deletions test/e2e/tests/metrics/delete-metametrics-data.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { strict as assert } from 'assert';
import { Mockttp } from 'mockttp';
import { Context } from 'mocha';
import { Suite } from 'mocha';
import {
defaultGanacheOptions,
withFixtures,
Expand Down Expand Up @@ -85,7 +85,7 @@ const mockSegment = async (mockServer: Mockttp) => {
* 2. Deletion while Metrics is Opted out.
* 3. Deletion when user never opted for metrics.
*/
describe('Delete MetaMetrics Data @no-mmi', function () {
describe('Delete MetaMetrics Data @no-mmi', function (this: Suite) {
it('while user has opted in for metrics tracking', async function () {
await withFixtures(
{
Expand All @@ -96,7 +96,7 @@ describe('Delete MetaMetrics Data @no-mmi', function () {
})
.build(),
defaultGanacheOptions,
title: (this as Context).test?.fullTitle(),
title: this.test?.fullTitle(),
testSpecificMock: mockSegment,
},
async ({
Expand Down Expand Up @@ -157,7 +157,7 @@ describe('Delete MetaMetrics Data @no-mmi', function () {
})
.build(),
defaultGanacheOptions,
title: (this as Context).test?.fullTitle(),
title: this.test?.fullTitle(),
testSpecificMock: mockSegment,
},
async ({
Expand Down Expand Up @@ -209,7 +209,7 @@ describe('Delete MetaMetrics Data @no-mmi', function () {
{
fixtures: new FixtureBuilder().build(),
defaultGanacheOptions,
title: (this as Context).test?.fullTitle(),
title: this.test?.fullTitle(),
testSpecificMock: mockSegment,
},
async ({ driver }: { driver: Driver }) => {
Expand Down
Loading

0 comments on commit fd90047

Please sign in to comment.