diff --git a/packages/bruno-electron/src/ipc/network/index.js b/packages/bruno-electron/src/ipc/network/index.js index a9d0a2f77..de3d2d3b0 100644 --- a/packages/bruno-electron/src/ipc/network/index.js +++ b/packages/bruno-electron/src/ipc/network/index.js @@ -169,14 +169,14 @@ const registerNetworkIpc = (mainWindow, watcher, lastOpenedCollections) => { // run assertions const assertions = get(request, 'assertions'); - const assertRuntime = new AssertRuntime(); - const results = assertRuntime.runAssertions(assertions, request, response, envVars, collectionVariables, collectionPath); + const assertRuntime = new AssertRuntime(); + const results = assertRuntime.runAssertions(assertions, request, response, envVars, collectionVariables, collectionPath); - mainWindow.webContents.send('main:assertion-results', { - results: results, - itemUid: item.uid, - collectionUid - }); + mainWindow.webContents.send('main:assertion-results', { + results: results, + itemUid: item.uid, + collectionUid + }); // run tests const testFile = get(item, 'request.tests');