Skip to content

Commit

Permalink
Merge pull request usebruno#3660 from lohxt1/fix/add-tests-scripts-to…
Browse files Browse the repository at this point in the history
…-request

fix: add tests to request object
  • Loading branch information
lohxt1 authored Dec 16, 2024
2 parents 380047e + e8bc32b commit 21f9e80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/bruno-electron/src/ipc/network/prepare-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 21f9e80

Please sign in to comment.