Skip to content

Commit aaf22d8

Browse files
committed
remove MockedStorage from onyxCacheTest
1 parent 3274e81 commit aaf22d8

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tests/unit/onyxCacheTest.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import type OnyxInstance from '../../lib/Onyx';
22
import type OnyxCache from '../../lib/OnyxCache';
33
import type {CacheTask} from '../../lib/OnyxCache';
4-
import type MockedStorage from '../../lib/storage/__mocks__';
54
import type {InitOptions} from '../../lib/types';
65
import waitForPromisesToResolve from '../utils/waitForPromisesToResolve';
76

@@ -416,7 +415,6 @@ describe('Onyx', () => {
416415

417416
describe('Onyx with Cache', () => {
418417
let Onyx: typeof OnyxInstance;
419-
let StorageMock: typeof MockedStorage;
420418

421419
/** @type OnyxCache */
422420
let cache: typeof OnyxCache;
@@ -450,8 +448,6 @@ describe('Onyx', () => {
450448
const OnyxModule = require('../../lib');
451449
Onyx = OnyxModule.default;
452450

453-
StorageMock = require('../../lib/storage').default;
454-
455451
cache = require('../../lib/OnyxCache').default;
456452
});
457453

0 commit comments

Comments
 (0)