Skip to content

Jest parser is not correctly implemented #19

@zhouyuyang2002

Description

@zhouyuyang2002

When stdout.log looks like follows

PASS test/utils/pillify-test.tsx (15.795 s)
  pillify
    ✓ should do nothing for empty element (16 ms)
    ✓ should pillify @room (22 ms)
    ✓ should not double up pillification on repeated calls (7 ms)

FAIL test/MatrixClientPeg-test.ts (15.796 s)
  MatrixClientPeg
    ✓ setJustRegisteredUserId (5 ms)
    ✓ setJustRegisteredUserId(null) (1 ms)
    .start
      ✓ should initialise client crypto (6 ms)
      ✓ should carry on regardless if there is an error initialising crypto (3 ms)
      ✓ should initialise the rust crypto library, if enabled (8 ms)
      ✕ should reload when store database closes for a guest user (3 ms)
      ✕ should show error modal when store database closes (2 ms)

following tests will be reported:

"test/utils/pillify-test.tsx | .start | should reload when store database closes for a guest user"
"test/utils/pillify-test.tsx | .start | should show error modal when store database closes"

but these tests actually locates in test/MatrixClientPeg-test.ts

relates test file:

element.hq
protonmail

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