bcgov / landuseplanning-public

Land Use Planning Engagement Platform - Public view
Apache License 2.0
3 stars 2 forks source link

DESENG-92 Fix karma error when running tests #74

Closed Baelx closed 2 years ago

Baelx commented 2 years ago

Bizarrely, node was installed as a dependency, version 8.x.x. Even more bizarrely, when running the ng test command via an npm script, the old version of node would be used to run it. Subsequently it would throw an error when an unsupported JS language feature was used(optional catch binding, introduced in Node 10).