Can we test without spacejam?


#1

Hi,

I’m helping out in a project with my CI / devops-y skills, though I am bit stumped with:

./node_modules/spacejam/bin/spacejam test --driver-package practicalmeteor:mocha

It fails in Gitlab’s CI https://gitlab.com/kaihendry/unee-t-fe/-/jobs/29643355
It works in Travis CI https://travis-ci.org/kaihendry/unee-t-fe/builds/265885749

In both cases it’s crazy slow. Can tests be run faster without phantomjs and all its complexity in the mix?

Many thanks,


#2

Not really, unfortunately. Testing in Meteor is kinda slow and wonky like that, as far as I know.


#3

The new meteortesting:mocha package has replaced practicalmeteor as the properly supported Meteor testing package, and has console testing and browser driver support built in. You shouldn’t have to use spacejam for anything anymore :slight_smile: