So, it works - the main proviso is that loading additional resources is still clunky. .jsm modules can be specified ("helpers") and will load, but other resources (such as freedomjs modules) need to be put in .build/data/.... I explained this in the readme, and also actually successfully implemented and ran/passed tests in freedom-pgp-e2e - https://github.com/freedomjs/freedom-pgp-e2e/compare/soycode-firefoxaddontest
I would like to have better options and copying of needed additional files, but since this does work for the actual testing and basically a simple supplementary grunt-contrib-copy task can do the rest of the work, I figured I'd go ahead with the pull request.
So, it works - the main proviso is that loading additional resources is still clunky.
.jsm
modules can be specified ("helpers") and will load, but other resources (such as freedomjs modules) need to be put in.build/data/...
. I explained this in the readme, and also actually successfully implemented and ran/passed tests in freedom-pgp-e2e - https://github.com/freedomjs/freedom-pgp-e2e/compare/soycode-firefoxaddontestI would like to have better options and copying of needed additional files, but since this does work for the actual testing and basically a simple supplementary
grunt-contrib-copy
task can do the rest of the work, I figured I'd go ahead with the pull request.Let me know any thoughts, thanks!