@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 magicaltest-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 itsaddon-test-support
directory? I’ve tried with thetest-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 haveaddon-test-support
directory in the addon, but make it available undertest-support/
when using in a consuming application? Wouldn’t it be less confusing to just useaddon-test-support/
directory everywhere?Thanks in advance for any info anyone can provide!
Posts: 3
Participants: 3