mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +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')
|
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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user