Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ import React from 'react'

export async function TestReactCache(props: { url: URL }) {
if (props.url.searchParams.has('test-react-cache')) {
await Promise.all([
testCacheFn('test1'),
testCacheFn('test2'),
testCacheFn('test1'),
testNonCacheFn('test1'),
testNonCacheFn('test2'),
testNonCacheFn('test1'),
])
await testCacheFn('test1')
await testCacheFn('test2')
await testCacheFn('test1')
await testNonCacheFn('test1')
await testNonCacheFn('test2')
await testNonCacheFn('test1')
} else {
cacheFnCount = 0
nonCacheFnCount = 0
Expand Down
Loading