mantrajs / mantra-sample-blog-app

A sample blog app built with Mantra

Home Page: http://mantra-sample-blog-app.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wallaby broken by commit: 'Move all .jsx to .js'

smeijer opened this issue · comments

As the title is saying; commit 5064335 broke wallaby. It cannot find modules any longer. That means, wherever you depend on an 'jsx' file, and import it by import X from '../components/main_layout', you'll get an error that it cannot find the module.

Try now. fixed it.

No idea why it did not work when I tried that. Fixed indeed.


Unrelated to this issue, but do you have any idea if it is possible to make testrunners work with meteor package imports? Like the one below?

import { Template } from 'meteor/templating';

They all seem to break, with the message: "Error: Cannot find module 'meteor/templating'" or "Error: Cannot find module 'meteor/anti:i18n'".

You should only import these things inside the context. We run tests outside of Meteor.