From e8bc32b39b09f155793d497bb2f02ec03dd68050 Mon Sep 17 00:00:00 2001 From: lohxt1 Date: Mon, 16 Dec 2024 10:12:25 +0530 Subject: [PATCH] fix: add tests to request object --- packages/bruno-electron/src/ipc/network/prepare-request.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/bruno-electron/src/ipc/network/prepare-request.js b/packages/bruno-electron/src/ipc/network/prepare-request.js index de6ed1632f..0b814230ba 100644 --- a/packages/bruno-electron/src/ipc/network/prepare-request.js +++ b/packages/bruno-electron/src/ipc/network/prepare-request.js @@ -268,6 +268,10 @@ const prepareRequest = (item, collection) => { axiosRequest.script = request.script; } + if (request.tests) { + axiosRequest.tests = request.tests; + } + axiosRequest.vars = request.vars; axiosRequest.collectionVariables = request.collectionVariables; axiosRequest.folderVariables = request.folderVariables;