Skip to content

Commit 6c6937d

Browse files
committed
chore(tests): fix test for onBundle callback
1 parent f8d2381 commit 6c6937d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/specs/bundle-callback/bundle-callback.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe("Schema with a $ref", () => {
1313
const options = {
1414
bundle: {
1515
onBundle(path, value, parent, parentPropName) {
16-
calls.push({ path, value, parent, parentPropName });
16+
calls.push(JSON.parse(JSON.stringify({ path, value, parent, parentPropName })));
1717
},
1818
},
1919
} as Options;

0 commit comments

Comments
 (0)