mirror of
https://github.com/usebruno/bruno.git
synced 2025-08-14 09:58:55 +02:00
fix: fixed issue where unsaved changes where not being picked up while running tests (#125)
This commit is contained in:
@ -28,6 +28,15 @@ class TestRuntime {
|
||||
const __brunoTestResults = new TestResults();
|
||||
const test = Test(__brunoTestResults, chai);
|
||||
|
||||
if(!testsFile || !testsFile.length) {
|
||||
return {
|
||||
request,
|
||||
envVariables,
|
||||
collectionVariables,
|
||||
results: __brunoTestResults.getResults()
|
||||
};
|
||||
}
|
||||
|
||||
const context = {
|
||||
test,
|
||||
bru,
|
||||
|
Reference in New Issue
Block a user