Skip to content

Commit 89a6a1c

Browse files
Eprince-hubporsager
authored andcommitted
Use correct data structure
1 parent f9a8b61 commit 89a6a1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ t('Bypass transform for json primitive', async () => {
622622
)[0]
623623

624624
return [
625-
JSON.stringify({ a: null, b: false, c: { 0: 'a' }, d: {} }),
625+
JSON.stringify({ a: null, b: false, c: 'a', d: 1 }),
626626
JSON.stringify(x),
627627
]
628628
})
@@ -638,7 +638,7 @@ t('Bypass transform for jsonb primitive', async () => {
638638
)[0]
639639

640640
return [
641-
JSON.stringify({ a: null, b: false, c: { 0: 'a' }, d: {} }),
641+
JSON.stringify({ a: null, b: false, c: 'a', d: 1 }),
642642
JSON.stringify(x),
643643
]
644644
})

0 commit comments

Comments
 (0)