mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
test: add missing payload checks (#24899)
This commit is contained in:
parent
ec9eaa7adb
commit
9de21173a8
@ -498,13 +498,15 @@ describe('rich payloads', () => {
|
||||
const html = await $fetch('/json-payload')
|
||||
for (const test of [
|
||||
'Date: true',
|
||||
'Recursive objects: true',
|
||||
'BigInt: true',
|
||||
'Error: true',
|
||||
'Shallow reactive: true',
|
||||
'Shallow ref: true',
|
||||
'Undefined ref: true',
|
||||
'BigInt ref:',
|
||||
'Reactive: true',
|
||||
'Ref: true',
|
||||
'Error: true'
|
||||
'Recursive objects: true',
|
||||
]) {
|
||||
expect(html).toContain(test)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user