test: add missing payload checks (#24899)

This commit is contained in:
Alexander Lichter 2023-12-26 21:04:14 +01:00 committed by GitHub
parent ec9eaa7adb
commit 9de21173a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -498,13 +498,15 @@ describe('rich payloads', () => {
const html = await $fetch('/json-payload') const html = await $fetch('/json-payload')
for (const test of [ for (const test of [
'Date: true', 'Date: true',
'Recursive objects: true', 'BigInt: true',
'Error: true',
'Shallow reactive: true', 'Shallow reactive: true',
'Shallow ref: true', 'Shallow ref: true',
'Undefined ref: true', 'Undefined ref: true',
'BigInt ref:',
'Reactive: true', 'Reactive: true',
'Ref: true', 'Ref: true',
'Error: true' 'Recursive objects: true',
]) { ]) {
expect(html).toContain(test) expect(html).toContain(test)
} }