diff options
author | Florian Dold <florian@dold.me> | 2021-02-23 21:30:11 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-02-23 21:30:11 +0100 |
commit | 627ae6958ef9b98fc16f129fdf95435a5e95b738 (patch) | |
tree | 2bb08e943f58be1caab5ca7675857dc21317a917 /packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts | |
parent | 9c85f6277bf85606eb4fbbca47f1a1b5404d2a2e (diff) | |
download | wallet-core-627ae6958ef9b98fc16f129fdf95435a5e95b738.tar.xz |
idb: fix test / backend
Diffstat (limited to 'packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts')
-rw-r--r-- | packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts b/packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts index ecfac82f4..4843b13ab 100644 --- a/packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts +++ b/packages/idb-bridge/src/idb-wpt-ported/idbcursor-continue-objectstore.test.ts @@ -112,7 +112,8 @@ test.cb("WPT test idbcursor_continue_objectstore3.htm", (t) => { }; }); -// IDBCursor.continue() - object store - attempt to iterate to the next record when the direction is set for the previous record +// IDBCursor.continue() - object store - attempt to iterate to the +// next record when the direction is set for the previous record test.cb("WPT test idbcursor_continue_objectstore4.htm", (t) => { var db: any; const records = [ @@ -151,7 +152,9 @@ test.cb("WPT test idbcursor_continue_objectstore4.htm", (t) => { t.deepEqual(cursor.value.pKey, records[1].pKey, "second cursor pkey"); t.throws( () => { + console.log("**** continuing cursor"); cursor.continue(records[2].pKey); + console.log("**** this should not happen"); }, { name: "DataError", |