Skip to content

Commit

Permalink
stash
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Dec 3, 2024
1 parent 244f6c8 commit 5f12a92
Show file tree
Hide file tree
Showing 9 changed files with 134 additions and 836 deletions.
117 changes: 0 additions & 117 deletions packages/base-controller/src/BaseControllerV1.test.ts

This file was deleted.

251 changes: 0 additions & 251 deletions packages/base-controller/src/BaseControllerV1.ts

This file was deleted.

7 changes: 0 additions & 7 deletions packages/base-controller/src/BaseControllerV2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { Draft, Patch } from 'immer';
import * as sinon from 'sinon';

import { JsonRpcEngine } from '../../json-rpc-engine/src';
import { TestController } from './BaseControllerV1.test';
import type {
ControllerGetStateAction,
ControllerStateChangeEvent,
Expand Down Expand Up @@ -196,14 +195,8 @@ describe('isBaseController', () => {
expect(isBaseController(controller)).toBe(true);
});

it('should return false if passed a V1 controller', () => {
const controller = new TestController();
expect(isBaseController(controller)).toBe(false);
});

it('should return false if passed a non-controller', () => {
const notController = new JsonRpcEngine();
// @ts-expect-error Intentionally passing invalid input to test runtime behavior
expect(isBaseController(notController)).toBe(false);
});
});
Expand Down
Loading

0 comments on commit 5f12a92

Please sign in to comment.