wildcard malfunctions in package.json

Please, I am trying to run multiple test with mocha in package.json

"scripts": {
    "test": "webpack --config webpack.test.config.js && mocha -r '__test/**/*.js' --exit",

But the wildcard isn't working...It is rather returning an error message : Error: Cannot find module '__test/**/*.js'

Please I need help

Read more here: https://stackoverflow.com/questions/68478751/wildcard-malfunctions-in-package-json

Content Attribution

This content was originally published by Kelvin Ukuejubola Oritsetimeyi at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: