Skip to content

Commit

Permalink
fix: fixed ui module loading issue
Browse files Browse the repository at this point in the history
  • Loading branch information
helloanoop committed Jan 29, 2024
1 parent 54d4a74 commit 00e11e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
4 changes: 0 additions & 4 deletions packages/bruno-tests/collection/ping.bru
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 00e11e3

Please sign in to comment.