Hi all,
got a really strange behavior while testing my sever side functions via mocha.
Got a file import from a specific js file, from which all imported values are undefined. If I rename the exporting file and import from there everything is fine.
Like so:
main1.js
import { test } from "./mylib";
//...further imports
console.log(test); // undefined
main2.js
import { test } from "./mylib2";
//...further imports
console.log(test); // hello
mylib.js
//...further imports
export const test = "hello";
mylib2.js
(Just a copy with a different name)
//...further imports
export const test = "hello";
I already did a meteor reset
, with no success. Any ideas? Maybe more caches do clear?