mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-07 08:34:15 +01:00
fix: added missing translation
This commit is contained in:
parent
6588dcf2fd
commit
d1ebfbe29c
@ -58,7 +58,7 @@ if (!SERVER_RENDERED) {
|
|||||||
'req.getExecutionMode()',
|
'req.getExecutionMode()',
|
||||||
'bru',
|
'bru',
|
||||||
'bru.cwd()',
|
'bru.cwd()',
|
||||||
'bru.getEnvName(key)',
|
'bru.getEnvName()',
|
||||||
'bru.getProcessEnv(key)',
|
'bru.getProcessEnv(key)',
|
||||||
'bru.hasEnvVar(key)',
|
'bru.hasEnvVar(key)',
|
||||||
'bru.getEnvVar(key)',
|
'bru.getEnvVar(key)',
|
||||||
|
@ -17,7 +17,8 @@ const replacements = {
|
|||||||
'pm\\.response\\.code': 'res.getStatus()',
|
'pm\\.response\\.code': 'res.getStatus()',
|
||||||
'pm\\.response\\.text\\(': 'res.getBody()?.toString(',
|
'pm\\.response\\.text\\(': 'res.getBody()?.toString(',
|
||||||
'pm\\.expect\\.fail\\(': 'expect.fail(',
|
'pm\\.expect\\.fail\\(': 'expect.fail(',
|
||||||
'pm\\.response\\.responseTime': 'res.getResponseTime()'
|
'pm\\.response\\.responseTime': 'res.getResponseTime()',
|
||||||
|
'pm\\.environment\\.name': 'bru.getEnvName()'
|
||||||
};
|
};
|
||||||
|
|
||||||
const extendedReplacements = Object.keys(replacements).reduce((acc, key) => {
|
const extendedReplacements = Object.keys(replacements).reduce((acc, key) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user