-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
(version 0.0.22)
If I'm unit testing a Post model in my_app/app/models/post.js, when testing in my_app/tests/models/post-test.js, I have to use
var Post = require('my_app/models/post')['default'];instead of
import Post from 'appkit/models/post'as EAK would have.
The resulting error is something like:
Error: ENOENT, no such file or directory 'tmp/tree_merger-tmp_dest_dir-B0kTayiu.tmp/appkit/models/post.js'
Is this an issue with how the Brocfile is setup?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels