Skip to content

Commit ed9720d

Browse files
committed
Fix lint and coverage
1 parent 8e43222 commit ed9720d

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

packages/snaps-rpc-methods/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = deepmerge(baseConfig, {
1111
coverageThreshold: {
1212
global: {
1313
branches: 95.37,
14-
functions: 98.76,
14+
functions: 98.75,
1515
lines: 98.92,
1616
statements: 98.62,
1717
},

packages/snaps-simulation/src/methods/hooks/track-error.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { getTrackErrorImplementation } from './track-error';
2+
import { createStore } from '../../store';
23
import { getMockOptions } from '../../test-utils';
3-
import { createStore } from '@metamask/snaps-simulation';
44

55
describe('getTrackErrorImplementation', () => {
66
it('returns the implementation of the `trackError` hook', async () => {

packages/snaps-simulation/src/methods/hooks/track-error.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { getJsonError } from '@metamask/snaps-sdk';
22
import type { SagaIterator } from 'redux-saga';
33
import { put } from 'redux-saga/effects';
44

5-
import { trackError } from '../../store/trackables';
6-
import type { RunSagaFunction } from '@metamask/snaps-simulation';
5+
import type { RunSagaFunction } from '../../store';
6+
import { trackError } from '../../store';
77

88
/**
99
* Track an error.

packages/snaps-simulation/src/methods/hooks/track-event.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { getTrackEventImplementation } from './track-event';
2+
import { createStore } from '../../store';
23
import { getMockOptions } from '../../test-utils';
3-
import { createStore } from '@metamask/snaps-simulation';
44

55
describe('getTrackEventImplementation', () => {
66
it('returns the implementation of the `trackEvent` hook', async () => {

packages/snaps-simulation/src/methods/hooks/track-event.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import type { TrackEventParams } from '@metamask/snaps-sdk';
22
import type { SagaIterator } from 'redux-saga';
33
import { put } from 'redux-saga/effects';
44

5-
import { trackEvent } from '../../store/trackables';
6-
import type { RunSagaFunction } from '@metamask/snaps-simulation';
5+
import type { RunSagaFunction } from '../../store';
6+
import { trackEvent } from '../../store';
77

88
/**
99
* Track an event.

0 commit comments

Comments
 (0)