diff options
author | Florian Dold <florian@dold.me> | 2021-02-16 14:49:38 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-02-16 14:49:38 +0100 |
commit | 4d663d2e595b64e6bf1979eccc701d0f3d55d797 (patch) | |
tree | 9c125da5b84a928e4da7e2b98886878f49a23563 /packages/idb-bridge/src/idb-wpt-ported/abort-in-initial-upgradeneeded.test.ts | |
parent | 987f22de02648485ec6f1d3c1558abcfa6d624a0 (diff) | |
download | wallet-core-4d663d2e595b64e6bf1979eccc701d0f3d55d797.tar.xz |
synchronous schema rollback
Diffstat (limited to 'packages/idb-bridge/src/idb-wpt-ported/abort-in-initial-upgradeneeded.test.ts')
-rw-r--r-- | packages/idb-bridge/src/idb-wpt-ported/abort-in-initial-upgradeneeded.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/idb-bridge/src/idb-wpt-ported/abort-in-initial-upgradeneeded.test.ts b/packages/idb-bridge/src/idb-wpt-ported/abort-in-initial-upgradeneeded.test.ts index da9ed2632..70f2f2b8a 100644 --- a/packages/idb-bridge/src/idb-wpt-ported/abort-in-initial-upgradeneeded.test.ts +++ b/packages/idb-bridge/src/idb-wpt-ported/abort-in-initial-upgradeneeded.test.ts @@ -9,7 +9,7 @@ test("WPT test abort-in-initial-upgradeneeded.htm", async (t) => { open_rq.onupgradeneeded = function (e) { const tgt = e.target as any; db = tgt.result; - t.assert(db.version === 2); + t.deepEqual(db.version, 2); var transaction = tgt.transaction; transaction.oncomplete = () => t.fail("unexpected transaction.complete"); transaction.onabort = function (e: any) { |