mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
12 lines
332 B
TypeScript
12 lines
332 B
TypeScript
/**
|
|
* @jest-environment jsdom
|
|
*/
|
|
|
|
import { LocalCacheStorage, SessionCacheStorage } from '../../src/storage/web';
|
|
import { testStorage } from './storages';
|
|
|
|
describe('tests web storages', () => {
|
|
testStorage('local-storage', () => new LocalCacheStorage());
|
|
testStorage('session-storage', () => new SessionCacheStorage());
|
|
});
|