Skip to content

Commit 8da2eda

Browse files
committed
stash
1 parent 244f6c8 commit 8da2eda

File tree

7 files changed

+132
-818
lines changed

7 files changed

+132
-818
lines changed

packages/base-controller/src/BaseControllerV1.test.ts

Lines changed: 0 additions & 117 deletions
This file was deleted.

packages/base-controller/src/BaseControllerV1.ts

Lines changed: 0 additions & 251 deletions
This file was deleted.

packages/base-controller/src/BaseControllerV2.test.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import type { Draft, Patch } from 'immer';
33
import * as sinon from 'sinon';
44

55
import { JsonRpcEngine } from '../../json-rpc-engine/src';
6-
import { TestController } from './BaseControllerV1.test';
76
import type {
87
ControllerGetStateAction,
98
ControllerStateChangeEvent,
@@ -196,14 +195,8 @@ describe('isBaseController', () => {
196195
expect(isBaseController(controller)).toBe(true);
197196
});
198197

199-
it('should return false if passed a V1 controller', () => {
200-
const controller = new TestController();
201-
expect(isBaseController(controller)).toBe(false);
202-
});
203-
204198
it('should return false if passed a non-controller', () => {
205199
const notController = new JsonRpcEngine();
206-
// @ts-expect-error Intentionally passing invalid input to test runtime behavior
207200
expect(isBaseController(notController)).toBe(false);
208201
});
209202
});

0 commit comments

Comments
 (0)