Commit 0124bf72 authored by Jimmy Lai's avatar Jimmy Lai

test: tweak runtime-variance note in chunk-load test

parent 7fcfc9c5
...@@ -204,8 +204,8 @@ describe('chunk-load-failure', () => { ...@@ -204,8 +204,8 @@ describe('chunk-load-failure', () => {
// One initial request + one retry attempt. // One initial request + one retry attempt.
expect(chunkRequestCount).toBe(2) expect(chunkRequestCount).toBe(2)
// Browsers/runtime paths differ here: some surface the first transient failure // Browser/runtime paths differ here: some surface the first transient failure
// as a page error before retry succeeds, others recover without a pageerror. // as a page error before retry succeeds, others recover without one.
if (pageError) { if (pageError) {
expect(pageError.name).toBe('ChunkLoadError') expect(pageError.name).toBe('ChunkLoadError')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment