It was actually surprisingly complicated to come up with a set of dependency versions that work. For example, newer versions of rollup seem to contain a bug that was incorrectly tree-shaking away code that causes tests (and the corresponding real functionality) to fail.
As such I've added a lock file so that no-one else has to go through the painful dependency versioning trial and error I just went through!
I should probably note that grunt-template-jasmine-requirejs is no longer maintained (last update around 3 years ago), so I've switched to a fork that is maintained.
Fixed the build and test execution.
It was actually surprisingly complicated to come up with a set of dependency versions that work. For example, newer versions of rollup seem to contain a bug that was incorrectly tree-shaking away code that causes tests (and the corresponding real functionality) to fail.
As such I've added a lock file so that no-one else has to go through the painful dependency versioning trial and error I just went through!