const assert = require('assert');
export const get_base_url = (path) => {
const base = process.env.DC_API_URL;
assert.notEqual(base, undefined, 'DC_API_URL not found');
return `${base}/beta/${path}`;
};
// more functions defined in the same manner
I would think the babel extension would resolve this but I guess I'm not understanding.
I'm using the babel extension and running into the titled error still.
Given testlib.js
I would think the babel extension would resolve this but I guess I'm not understanding.