bugfix/assertion-result-issue fixed the issue related to assertions still displayed in Tests tab after deletion#121

This commit is contained in:
Bharath B 2023-03-18 12:06:20 +05:30
parent a9e6c3a35c
commit 7a2b32069e

View File

@ -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');