Skip to content

Commit 5337f80

Browse files
committed
fix test
1 parent a338298 commit 5337f80

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/react-cache/src/__tests__/ReactCacheOld-test.internal.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,13 @@ describe('ReactCache', () => {
204204
'To use non-primitive values as keys, you must pass a hash ' +
205205
'function as the second argument to createResource().\n' +
206206
' in App (at **)',
207+
208+
// pre-warming
209+
'Invalid key type. Expected a string, number, symbol, or ' +
210+
"boolean, but instead received: [ 'Hi', 100 ]\n\n" +
211+
'To use non-primitive values as keys, you must pass a hash ' +
212+
'function as the second argument to createResource().\n' +
213+
' in App (at **)',
207214
]);
208215
} else {
209216
await waitForAll([

0 commit comments

Comments
 (0)