feat: revert await keyword for test (#2933)

feat: revert await keyword for test
This commit is contained in:
lohit
2024-08-27 11:41:09 +05:30
committed by GitHub
parent f6c6a3b2bf
commit b121afe7bb
3 changed files with 3 additions and 81 deletions

View File

@@ -15,7 +15,7 @@ const BrunoRequest = require('../bruno-request');
const BrunoResponse = require('../bruno-response');
const Test = require('../test');
const TestResults = require('../test-results');
const { cleanJson, appendAwaitToTestFunc } = require('../utils');
const { cleanJson } = require('../utils');
// Inbuilt Library Support
const ajv = require('ajv');
@@ -84,8 +84,6 @@ class TestRuntime {
};
}
// add 'await' prefix to the test function calls
testsFile = appendAwaitToTestFunc(testsFile);
const context = {
test,