Skip to content

Commit f14d836

Browse files
TrickSumoyaythomas
authored andcommitted
Simplify callback success message format
1 parent 65ed94d commit f14d836

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/typescript/testing/assertions/assert-callback.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ it("completes a callback from the test", async () => {
2828

2929
const callback = runner.getOperation("approval");
3030
await callback.waitForData(WaitingOperationStatus.SUBMITTED);
31-
await callback.sendCallbackSuccess(JSON.stringify("approved"));
31+
await callback.sendCallbackSuccess("approved");
3232

3333
const result = await runPromise;
3434

0 commit comments

Comments
 (0)