mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-07 08:34:15 +01:00
fix: fixed ui module loading issue
This commit is contained in:
parent
54d4a74355
commit
00e11e3177
@ -8,8 +8,8 @@ import { findEnvironmentInCollection } from 'utils/collections';
|
||||
|
||||
// Todo: Fix this
|
||||
// import { interpolate } from '@usebruno/common';
|
||||
const brunoCommon = require('@usebruno/common');
|
||||
const { interpolate } = brunoCommon.default;
|
||||
import brunoCommon from '@usebruno/common';
|
||||
const { interpolate } = brunoCommon;
|
||||
|
||||
const interpolateUrl = ({ url, envVars, collectionVariables, processEnvVars }) => {
|
||||
if (!url || !url.length || typeof url !== 'string') {
|
||||
|
@ -29,10 +29,6 @@ assert {
|
||||
~res.body: eq {{pong}}
|
||||
}
|
||||
|
||||
script:pre-request {
|
||||
console.log(bru.getEnvName());
|
||||
}
|
||||
|
||||
tests {
|
||||
test("should ping pong", function() {
|
||||
const data = res.getBody();
|
||||
|
Loading…
Reference in New Issue
Block a user