refactor: persist running requests while switching tabs (#3742)

This commit is contained in:
Nivedin
2024-01-23 22:13:57 +05:30
committed by GitHub
parent aca96dd5f2
commit 27d0a7c437
2 changed files with 19 additions and 8 deletions

View File

@@ -154,6 +154,9 @@ export function runRESTRequest$(
)
if (E.isRight(runResult)) {
// set the response in the tab so that multiple tabs can run request simultaneously
tab.value.document.response = res
tab.value.document.testResults = translateToSandboxTestResults(
runResult.right
)