Skip to content

Failing tests show as passing (Error Boundaries; 09.01 & 09.02) #399

Closed
@ianjmacintosh

Description

@ianjmacintosh

I ran the tests for the "Error Boundaries: Other Errors" lesson (/exercises/09.errors/02.solution.show-boundary/error-boundary.test.ts) and saw the tests show as passing even before I started the exercise, but the console shows that the assertions are not being satisfied.

I went back to the previous chapter (09.01) and see the same thing happening in /exercises/09.errors/01.solution.composition/error-boundary.test.ts so I started troubleshooting there.

test.ts:35 Uncaught (in promise) Error: Error boundary is rendered immediately due to render error

It seems like something in testStep isn't behaving right. I did a little bit of digging in https://github.com/epicweb-dev/epicshop/blob/main/packages/workshop-utils/src/test.ts but I got lost real fast.

Workshop app shows tests passing, console shows tests failing

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