Skip to content

Error message on cli, core tests #2612

@gerteck

Description

@gerteck

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Any related issues?

No response

Tell us about your environment

Win 11, Ubuntu GH Actions

MarkBind version

5.3.3

Describe the bug and the steps to reproduce it

CLI Tests

There are error messages in the MarkBind packages/cli tests. See:
Image

  • I am running this on master branch, individually through cd packages/ cli; npm run test. Due to the tests running in parallel, if you run npm run test from root, lerna will run tests in parallel, so test messages are warped, makes debugging hard. So best to run each test locally individually.

Additionally, in the latest PR check, this 'error' also shows.
https://github.com/MarkBind/markbind/actions/runs/13458086184/job/37606471167#step:8:233

Core Tests

There are also error messages when running core tests.

Image

i.e. cyclic reference, does not exist.

Issue

This error is misleading. Is this supposed to be expected behaviour? If it is, could the error be caught and not shown?

  • I suspect this is the case for core tests.

Otherwise, is the test actually failing in some segment, but reported as pass?

  • I suspect this might be the case for cli tests, hopefully not.

Expected behavior

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions