jasmine / jasmine-browser-runner

Serve and run your Jasmine specs in a browser
50 stars 25 forks source link

Can we make build instead of serve #17

Closed goldenratio closed 2 years ago

goldenratio commented 2 years ago

I would like to generate static javascript files and run those tests myself using nginx.

I am trying to achieve something like this, https://scriptverse.academy/tutorials/jasmine-spec-browser.html but using modern dev tooling.

Do we have something like, jasmine-browser-runner build ?

sgravrock commented 2 years ago

That's not something I want to support in jasmine-browser-runner, in part due to the number of different ways that an incorrect web server configuration could break it. But you could probably build it yourself easily enough by using the glob package to build lists of files and then rendering this template or something similar. I hope that helps.