orangecms/jest-meteor-stubs

meteor/meteor error

Opened this issue · 1 comments

Hello, thanks for this stub collection :)

I tried using it with some simple test, but sadly i can't get it to work...
I installed the module, copy pasted your jest.config.js and tried to run a simple test including {Meteor} from 'meteor/meteor' - sadly all i get is a Cannot find module 'meteor/meteor' from 'aboutMe.js'
It's definitely picking up the config as I tried to add a roots prop which worked.

Any idea what i could be missing?

Best regards,
Lukas

Hi @sakulstra - thank you for your feedback and sorry for replying so late! I didn't see any notification or something. Anyway: Which version of Jest did you use? Maybe I should add a note regarding versions other than 20 (see https://github.com/orangecms/jest-meteor-stubs/blob/master/README.md#usage). I would need to investigate further.