Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

How to use addon-test-support files in same addon?

$
0
0

@mkay581 wrote:

Currently, adding a file to the addon-test-support directory in an addon allows that file to be exposed and used by a consuming application using the magical test-support/ path. But for some reason I cannot use the same file in the addon’s tests (in the dummy folder). Is there a way for an addon to use its own files in its addon-test-support directory? I’ve tried with the test-support/ path and still doesn’t work.

Also, I would love if someone could explain the magic behind how the addon-test-support directory works, since this doesn’t seem to be officially documented anywhere. Why have addon-test-support directory in the addon, but make it available under test-support/ when using in a consuming application? Wouldn’t it be less confusing to just use addon-test-support/ directory everywhere?

Thanks in advance for any info anyone can provide!

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles