diff --git a/tests/operations/tests/JSONRepair.mjs b/tests/operations/tests/JSONRepair.mjs index 06d4263c..46768df9 100644 --- a/tests/operations/tests/JSONRepair.mjs +++ b/tests/operations/tests/JSONRepair.mjs @@ -161,4 +161,15 @@ TestRegister.addTests([ }, ], }, + { + name: "JSON Repair: JSONP notation", + input: 'callback({"name": "John", "age": 30})', + expectedOutput: '{"name": "John", "age": 30}', + recipeConfig: [ + { + op: "JSON Repair", + args: [], + }, + ], + }, ]);