Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mocha explodes #19

Open
michielbdejong opened this issue Mar 1, 2024 · 0 comments
Open

mocha explodes #19

michielbdejong opened this issue Mar 1, 2024 · 0 comments

Comments

@michielbdejong
Copy link
Member

npm install
added 667 packages, and audited 668 packages in 16s

4 packages are looking for funding
  run `npm fund` for details

48 vulnerabilities (3 low, 14 moderate, 24 high, 7 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
michiel-2:ledgerloops michiel$ npm run test

> [email protected] test
> grunt test

Running "mochaTest:test" (mochaTest) task
>> Mocha exploded!
>> Error: Cannot find module '../../src/ledger'
>> Require stack:
>> - /Users/michiel/gh/ledgerloops/ledgerloops/test/unit/ledger.js
>> - /Users/michiel/gh/ledgerloops/ledgerloops/node_modules/mocha/lib/mocha.js
>> - /Users/michiel/gh/ledgerloops/ledgerloops/node_modules/mocha/index.js
>> - /Users/michiel/gh/ledgerloops/ledgerloops/node_modules/grunt-mocha-test/tasks/lib/MochaWrapper.js
>> - /Users/michiel/gh/ledgerloops/ledgerloops/node_modules/grunt-mocha-test/tasks/mocha-test.js
>> - /Users/michiel/gh/ledgerloops/ledgerloops/node_modules/grunt/lib/grunt/task.js
>> - /Users/michiel/gh/ledgerloops/ledgerloops/node_modules/grunt/lib/grunt.js
>> - /Users/michiel/gh/ledgerloops/ledgerloops/node_modules/grunt/node_modules/grunt-cli/bin/grunt
>> - /Users/michiel/gh/ledgerloops/ledgerloops/node_modules/grunt/bin/grunt
>>     at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
>>     at Module._load (node:internal/modules/cjs/loader:985:27)
>>     at Module.require (node:internal/modules/cjs/loader:1235:19)
>>     at require (node:internal/modules/helpers:176:18)
>>     at Object.<anonymous> (/Users/michiel/gh/ledgerloops/ledgerloops/test/unit/ledger.js:1:14)
>>     at Module._compile (node:internal/modules/cjs/loader:1376:14)
>>     at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
>>     at Module.load (node:internal/modules/cjs/loader:1207:32)
>>     at Module._load (node:internal/modules/cjs/loader:1023:12)
>>     at Module.require (node:internal/modules/cjs/loader:1235:19)
Warning: Task "mochaTest:test" failed. Use --force to continue.

Aborted due to warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant