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

how to make tests run #9

Open
bob-junior opened this issue Dec 10, 2024 · 0 comments
Open

how to make tests run #9

bob-junior opened this issue Dec 10, 2024 · 0 comments

Comments

@bob-junior
Copy link

When I click run button of rustRover, it failed.

image

/Users/pc/.nvm/versions/node/v23.3.0/bin/node /Users/pc/RustroverProjects/raydium-cpi-example/cpmm-cpi/node_modules/mocha/bin/mocha --ui bdd --reporter /Applications/RustRover.app/Contents/plugins/nodeJS/js/mocha-intellij/lib/mochaIntellijReporter.js /Users/pc/RustroverProjects/raydium-cpi-example/cpmm-cpi/tests/initialize.test.ts --grep ^initialize test

TypeError: Cannot read properties of undefined (reading 'async')
at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:306:22)
at loadESMFromCJS (node:internal/modules/cjs/loader:1376:24)
at Module._compile (node:internal/modules/cjs/loader:1528:5)
at Object..js (node:internal/modules/cjs/loader:1698:10)
at Module.load (node:internal/modules/cjs/loader:1303:32)
at Function._load (node:internal/modules/cjs/loader:1117:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
at Module.require (node:internal/modules/cjs/loader:1325:12)
at require (node:internal/modules/helpers:136:16)
at exports.requireOrImport (/Users/pc/RustroverProjects/raydium-cpi-example/cpmm-cpi/node_modules/mocha/lib/nodejs/esm-utils.js:60:20)
at async exports.loadFilesAsync (/Users/pc/RustroverProjects/raydium-cpi-example/cpmm-cpi/node_modules/mocha/lib/nodejs/esm-utils.js:103:20)
at async singleRun (/Users/pc/RustroverProjects/raydium-cpi-example/cpmm-cpi/node_modules/mocha/lib/cli/run-helpers.js:125:3)
at async exports.handler (/Users/pc/RustroverProjects/raydium-cpi-example/cpmm-cpi/node_modules/mocha/lib/cli/run.js:374:5)

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