Hello, I’ve been looking to run the example test suite posted in https://docs.daml.com/getting-started/testing.html with the template create-daml-app.
After following the steps and running npm test, Console throws some errors:
Ex: Party names are unique
thrown: “Exceeded timeout of 60000 ms for a hook”
for all written tests, and afterward
Test suite failed to run
spawn npm-cli.js ENOENT
Test suite failed to run
TypeError: The “pid” argument must be of type number. Received type number (NaN)
The last statement in console.debug before failing is “Starting npm start”, so I suspect it’s something to do with spawning the npm start process in beforeAll(). Not sure how to go about troubleshooting this, so any help is appreciated!
Running on Ubuntu 20.04 LTS.