From 7795c59c01ebd1894a62527c9d7508000de5be61 Mon Sep 17 00:00:00 2001 From: Anudeep Date: Sat, 28 Sep 2024 16:07:09 +0530 Subject: [PATCH] chore: json stringify --- features/support/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/support/base.js b/features/support/base.js index 96dffd6..98bb2f9 100644 --- a/features/support/base.js +++ b/features/support/base.js @@ -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) => {