So I'm trying to do this with no browser, headless or not.
Thus, I need to set up an environment for it to run in. I'm attempting to mimic
https://github.com/pivotal/jasmine/blob/master/spec/node_suite.js . Given my extremely limited familiarity with Jasmine's source code, this has proven challenging. I have tests running and always failing with little more than a stack trace given as output. Every test that is run contains a stack trace that loops through a few calls:
@./ConsoleReporterSpec.js:216
attemptSync@lib/jasmine-core/jasmine.js:1488
QueueRunner.run@lib/jasmine-core/jasmine.js:1476
Env/queueRunnerFactory@lib/jasmine-core/jasmine.js:498
Spec.execute@lib/jasmine-core/jasmine.js:302
Suite.execute/wrapChildAsAsync/<@lib/jasmine-core/jasmine.js:1701
attemptAsync@lib/jasmine-core/jasmine.js:1498
QueueRunner.run@lib/jasmine-core/jasmine.js:1474
QueueRunner.run/attemptAsync/next@lib/jasmine-core/jasmine.js:1495
complete@lib/jasmine-core/jasmine.js:325
clearStack@lib/jasmine-core/jasmine.js:490
QueueRunner.run@lib/jasmine-core/jasmine.js:1483
Env/queueRunnerFactory@lib/jasmine-core/jasmine.js:498
Spec.execute@lib/jasmine-core/jasmine.js:302
Suite.execute/wrapChildAsAsync/<@lib/jasmine-core/jasmine.js:1701
Now you can already see that this is repeating a pattern after a while. Every test repeats this pattern one more time than the last. Now I currently haven't replaced any "timer" code (which I know I'll need to do at some point.) Is that part of the issue as it is part of that wrapChildAsAsync method? Or can you already tell some other obvious mistake must have been made? I'll post source code if necessary, but not just yet.