Hello, I've updated the repository for the extension, Karma is no longer used for testing, jasmine-gjs is used instead. This is even working with Travis CI (although it runs on a pretty dated gjs version, 1.40). Transpiling should now be optional, and testing is a lot let hackish (e.g. you no longer need a full browser implementation like PhantomJS and Karma) and it's running under native GJS. Webpack is still used, which requires a build step before testing to generate a single test UMD module. This makes executing a single test file impossible right now, they all have to be executed at once. Using Andrea's cgjs, webpack can be avoided, it'll make all NPM
modules available in a more native way. Also, tests can be run
individually, which is an added benefit. Next step would be to give cgjs a try to use require instead of the native imports mechanism of GJS. Regards. On 04/12/17 20:02, Edgar Merino wrote:
|