You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changes test-QueuePlugin.mjs to test-Plugin.mjs as part of #1084 but it causes tests to fail. For now I've just kept the file name as is.
Log of failing tests:
16 passing (1s)
11 failing
1) [workbox-background-sync] Queue
addRequest
should serialize the request and store it in IndexedDB:
NotFoundError: IDBTransaction.objectStore(): Object store 'requests' does not exist
at IDBTransaction.objectStore (/home/matt/Projects/Code/workbox/node_modules/shelving-mock-indexeddb/lib/mock.js:295:33)
at Promise (/home/matt/Projects/Code/workbox/packages/workbox-core/_private/DBWrapper.mjs:117:1047)
at new Promise (<anonymous>)
at DBWrapper.transaction (/home/matt/Projects/Code/workbox/packages/workbox-core/_private/DBWrapper.mjs:117:154)
at <anonymous>
2) [workbox-background-sync] Queue
addRequest
should register to receive sync events for a unique tag:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (test/workbox-background-sync/node/lib/test-Queue.mjs:145:63)
at <anonymous>
3) [workbox-background-sync] Queue
addRequest
should invoke the requestWillEnqueue callback:
NotFoundError: IDBTransaction.objectStore(): Object store 'requests' does not exist
at IDBTransaction.objectStore (/home/matt/Projects/Code/workbox/node_modules/shelving-mock-indexeddb/lib/mock.js:295:33)
at Promise (/home/matt/Projects/Code/workbox/packages/workbox-core/_private/DBWrapper.mjs:117:1047)
at new Promise (<anonymous>)
at DBWrapper.transaction (/home/matt/Projects/Code/workbox/packages/workbox-core/_private/DBWrapper.mjs:117:154)
at <anonymous>
4) [workbox-background-sync] Queue
addRequest
should support modifying the stored request via requestWillEnqueue:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (test/workbox-background-sync/node/lib/test-Queue.mjs:177:50)
at <anonymous>
5) [workbox-background-sync] Queue
replayRequests
should try to re-fetch all requests in the queue:
AssertionError: expected 0 to equal 3
+ expected - actual
-0
+3
at Context.<anonymous> (test/workbox-background-sync/node/lib/test-Queue.mjs:203:39)
at <anonymous>
6) [workbox-background-sync] Queue
replayRequests
should remove requests after a successful retry:
AssertionError: expected 0 to equal 3
+ expected - actual
-0
+3
at Context.<anonymous> (test/workbox-background-sync/node/lib/test-Queue.mjs:244:39)
at <anonymous>
7) [workbox-background-sync] Queue
replayRequests
should ignore (and remove) requests if maxRetentionTime has passed:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (test/workbox-background-sync/node/lib/test-Queue.mjs:272:42)
at <anonymous>
8) [workbox-background-sync] Queue
replayRequests
should keep a request in the queue if re-fetching fails:
AssertionError: expected 0 to equal 2
+ expected - actual
-0
+2
at Context.<anonymous> (test/workbox-background-sync/node/lib/test-Queue.mjs:300:33)
at <anonymous>
9) [workbox-background-sync] Queue
replayRequests
should re-register for a sync event if re-fetching fails:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (test/workbox-background-sync/node/lib/test-Queue.mjs:324:63)
at <anonymous>
10) [workbox-background-sync] Queue
replayRequests
should invoke all replay callbacks:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (test/workbox-background-sync/node/lib/test-Queue.mjs:344:50)
at <anonymous>
11) [workbox-background-sync] Queue
replayRequests
should support modifying the request via the requestWillReplay:
AssertionError: expected false to be true
+ expected - actual
-false
+true
at Context.<anonymous> (test/workbox-background-sync/node/lib/test-Queue.mjs:414:43)
at <anonymous>
I'm not sure what the issue is or why they would affect each other, but would be good to rename the file to match the source file.
The text was updated successfully, but these errors were encountered:
I changes
test-QueuePlugin.mjs
totest-Plugin.mjs
as part of #1084 but it causes tests to fail. For now I've just kept the file name as is.Log of failing tests:
I'm not sure what the issue is or why they would affect each other, but would be good to rename the file to match the source file.
The text was updated successfully, but these errors were encountered: