add: translation for skipRequest and stopExecution

This commit is contained in:
Pooja Belaramani
2025-02-07 18:07:56 +05:30
committed by Anoop M D
parent 5291bbaef7
commit ced6ddfab5

View File

@@ -24,6 +24,10 @@ const replacements = {
'postman\\.setEnvironmentVariable\\(': 'bru.setEnvVar(',
'postman\\.getEnvironmentVariable\\(': 'bru.getEnvVar(',
'postman\\.clearEnvironmentVariable\\(': 'bru.deleteEnvVar(',
'pm\\.execution\\.skipRequest\\(\\)': 'bru.runner.skipRequest()',
'pm\\.execution\\.skipRequest': 'bru.runner.skipRequest',
'pm\\.execution\\.setNextRequest\\(null\\)': 'bru.runner.stopExecution()',
'pm\\.execution\\.setNextRequest\\(\'null\'\\)': 'bru.runnere.stopExecution()',
};
const extendedReplacements = Object.keys(replacements).reduce((acc, key) => {