File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export function storageTests() {
5151 it ( 'can clear sync' , async ( ) => {
5252 storage . setItemSync ( 'quack' , 'bark' ) ;
5353 storage . setItemSync ( 'quack2' , 'bark' ) ;
54- storage . clear ( ) ;
54+ storage . clearSync ( ) ;
5555 const res = storage . getItemSync ( 'quack' ) ;
5656 expect ( res ) . to . equal ( undefined ) ;
5757 } ) ;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export class Storage {
1616 this . db = open ( { ...options , name : '__opsqlite_storage' } ) ;
1717 this . db . executeSync ( 'PRAGMA mmap_size=268435456' ) ;
1818 this . db . executeSync (
19- 'CREATE TABLE IF NOT EXISTS storage (key TEXT PRIMARY KEY, value TEXT) STRICT WITHOUT ROWID'
19+ 'CREATE TABLE IF NOT EXISTS storage (key TEXT PRIMARY KEY, value TEXT) WITHOUT ROWID'
2020 ) ;
2121 }
2222
You can’t perform that action at this time.
0 commit comments