export indexeddb classes for testing

This commit is contained in:
Jack Case
2025-12-09 21:49:45 +00:00
parent 01b330c22e
commit 5ddb857cfa
2 changed files with 3 additions and 3 deletions

0
spec/indexeddb_spec.js Normal file
View File

View File

@@ -1,4 +1,4 @@
class IDBCursorValueIterator { export class IDBCursorValueIterator {
cursor: IDBCursorWithValue cursor: IDBCursorWithValue
constructor(cursor: IDBCursorWithValue) { constructor(cursor: IDBCursorWithValue) {
@@ -33,7 +33,7 @@ class IDBCursorValueIterator {
} }
class SlopDB { export class SlopDB {
db: IDBDatabase db: IDBDatabase
constructor(idb_version: number) { constructor(idb_version: number) {
@@ -91,7 +91,7 @@ class SlopDB {
} }
} }
class CheckCache { export class CheckCache {
slopdb: SlopDB slopdb: SlopDB
cache_capacity: number cache_capacity: number
static cache_objectstore_name = "checkcache" static cache_objectstore_name = "checkcache"