Skip to content

Commit b250eae

Browse files
Eprince-hubporsager
authored andcommitted
Use correct data structure
1 parent 8e4f916 commit b250eae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ t('Bypass transform for json primitive', async () => {
623623
)[0]
624624

625625
return [
626-
JSON.stringify({ a: null, b: false, c: { 0: 'a' }, d: {} }),
626+
JSON.stringify({ a: null, b: false, c: 'a', d: 1 }),
627627
JSON.stringify(x),
628628
]
629629
})
@@ -639,7 +639,7 @@ t('Bypass transform for jsonb primitive', async () => {
639639
)[0]
640640

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

0 commit comments

Comments
 (0)