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-update-index.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-update-index.test.ts')
-rw-r--r-- | packages/idb-bridge/src/idb-wpt-ported/idbcursor-update-index.test.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/idb-bridge/src/idb-wpt-ported/idbcursor-update-index.test.ts b/packages/idb-bridge/src/idb-wpt-ported/idbcursor-update-index.test.ts index 950a31e38..363ef4afa 100644 --- a/packages/idb-bridge/src/idb-wpt-ported/idbcursor-update-index.test.ts +++ b/packages/idb-bridge/src/idb-wpt-ported/idbcursor-update-index.test.ts @@ -202,8 +202,7 @@ test.cb("WPT test idbcursor_update_index5.htm", (t) => { var record = cursor.value; // Original test uses different uncloneable value - record.data = { foo: "42" }; - record.data.me = record.data; + record.data = { foo: () => {} }; t.throws( function () { cursor.update(record); |