Errors when running the npm test command, is this normal?

10 views
Skip to first unread message

Bruno Neves

unread,
Jul 28, 2020, 3:00:51 PM7/28/20
to mapstore-developers
hello everyone, I had these problems when running the command npm test, could someone help me? Appreciate.

Bruno Neves

unread,
Jul 28, 2020, 3:05:37 PM7/28/20
to mapstore-developers
erro npm.PNG

Matteo Velludini

unread,
Jul 29, 2020, 3:39:42 AM7/29/20
to mapstore-...@googlegroups.com
Hello Bruno,

this is strange.
Are you using the latest master?

I pulled the latest master, did an npm install and then npm test
All tests passed correctly.
Can you do the same and let me know the result?


If that does not work you can try to isolate & debug those tests by editing the 
build/tests.webpack.js file

like this

var context = require.context('../web/client/actions'true, /(locale-test\.jsx?)|(-test-chrome\.jsx?)$/);
context.keys().forEach(context);
module.exports = context;

and then run npm continuoustest
it will run the tests in watch mode by opening chrome 
Reply all
Reply to author
Forward
0 new messages