You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jest seems to fail on require statement. I need to keep --runInBand argument for other db related tests that uses the same ressource.
🐛 Bug Report
Invalid argument: --runInBand.
3 | import {Anchor} from "../../../../corelogic/models/anchor.interface";
4 |
> 5 | const chp = require('chainpoint-js');
| ^
6 |
7 |
8 | export class RealChainpointGateway implements ChainpointGateway {
at Config.parseArg (node_modules/bcfg/lib/config.js:884:17)
at Config.load (node_modules/bcfg/lib/config.js:117:12)
at node_modules/chainpoint-js/dist/bundle.js:1:9189
at Module.<anonymous> (node_modules/chainpoint-js/dist/bundle.js:1:9257)
at t (node_modules/chainpoint-js/dist/bundle.js:1:393)
at Object.<anonymous> (node_modules/chainpoint-js/dist/bundle.js:1:1683)
at t (node_modules/chainpoint-js/dist/bundle.js:1:393)
at node_modules/chainpoint-js/dist/bundle.js:1:1192
at node_modules/chainpoint-js/dist/bundle.js:1:1202
at node_modules/chainpoint-js/dist/bundle.js:1:108
at Object.<anonymous> (node_modules/chainpoint-js/dist/bundle.js:1:259)
at Object.<anonymous> (src/adapters/gateways/internal/chainpoint/realChainpointGateway.ts:5:13)
at Object.<anonymous> (src/adapters/gateways/internal/chainpoint/realChainpointGateway.ispec.ts:2:1)
I can provide small repo with 1 test file / 1 source file that imports the package
Expected behavior
Be able to require the package and running tests with runInBand
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
Jest seems to fail on require statement. I need to keep
--runInBand
argument for other db related tests that uses the same ressource.🐛 Bug Report
I can provide small repo with 1 test file / 1 source file that imports the package
Expected behavior
Be able to require the package and running tests with runInBand
config file : https://pastebin.com/KZuKSWQW
The text was updated successfully, but these errors were encountered: