Skip to content

Commit

Permalink
chore: json stringify
Browse files Browse the repository at this point in the history
  • Loading branch information
ASaiAnudeep committed Sep 28, 2024
1 parent 0dac0b6 commit 7795c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/support/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let req = {};
let res = {};

AfterStep(function(ctx) {
this.attach(JSON.stringify({req, res}), { mediaType: 'application/json' });
this.attach(JSON.stringify({req, res}, null, 2), { mediaType: 'application/json' });
});

events.pactumEvents.on(events.EVENT_TYPES.AFTER_RESPONSE, (ctx) => {
Expand Down

0 comments on commit 7795c59

Please sign in to comment.