diff --git a/packages/bruno-electron/src/ipc/network/index.js b/packages/bruno-electron/src/ipc/network/index.js index 2b29c2d8..a9d0a2f7 100644 --- a/packages/bruno-electron/src/ipc/network/index.js +++ b/packages/bruno-electron/src/ipc/network/index.js @@ -169,7 +169,6 @@ const registerNetworkIpc = (mainWindow, watcher, lastOpenedCollections) => { // run assertions const assertions = get(request, 'assertions'); - if(assertions && assertions.length) { const assertRuntime = new AssertRuntime(); const results = assertRuntime.runAssertions(assertions, request, response, envVars, collectionVariables, collectionPath); @@ -178,7 +177,6 @@ const registerNetworkIpc = (mainWindow, watcher, lastOpenedCollections) => { itemUid: item.uid, collectionUid }); - } // run tests const testFile = get(item, 'request.tests');