Skip to content

yarn test issue #495

@huhuha

Description

@huhuha

when i installed using yarn install, just a few warning about glob@7.2.3 version lower, everthing is ok.
but yarn test cmd had a error as:

yarn test
yarn run v1.22.22
$ jest
jest-haste-map: duplicate manual mock found: alkanes
The following files share their name; please delete one of them:
* \lib\rpclient_mocks_\alkanes.js
* \src\rpclient_mocks_\alkanes.ts

TypeError: stripAnsi is not a functionfound: esplora
at stringLength (D:\lid\vscode\githup\oyl-sdk-main\node_modules\string-length\index.js:10:25)
at Status.get (D:\lid\vscode\githup\oyl-sdk-main\node_modules@jest\reporters\build\index.js:1371:121)
at DefaultReporter.__printStatus (D:\lid\vscode\githup\oyl-sdk-main\node_modules@jest\reporters\build\index.js:645:22)
at Status._callback (D:\lid\vscode\githup\oyl-sdk-main\node_modules@jest\reporters\build\index.js:581:12)
at Status._emit (D:\lid\vscode\githup\oyl-sdk-main\node_modules@jest\reporters\build\index.js:1398:30)
at Timeout._onTimeout (D:\lid\vscode\githup\oyl-sdk-main\node_modules@jest\reporters\build\index.js:1406:14)
at listOnTimeout (node:internal/timers:588:17)
at processTimers (node:internal/timers:523:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions