Skip to content

Commit ba361d4

Browse files
committed
first working playwright test
1 parent b30cb6e commit ba361d4

File tree

5 files changed

+17
-518
lines changed

5 files changed

+17
-518
lines changed

packages/idb-cache-app/src/App.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ const cache = new IDBCache({
2828
cacheBuster,
2929
debug: true,
3030
});
31+
// @ts-expect-error
32+
window.idbCacheInstance = cache;
3133

3234
const DEFAULT_NUM_ITEMS = 1;
3335

34-
const DEFAULT_ITEM_SIZE = 10240;
36+
const DEFAULT_ITEM_SIZE = 1024 * 32;
3537

3638
const initialItemSize =
3739
Number.parseInt(

0 commit comments

Comments
 (0)