Skip to content

[@web/test-runner]: Logging complex (including circular) objects brings tests to a near-halt #2798

Open
@rschristian

Description

@rschristian

I'm running into an issue where wtr will slow to a near halt, usually timing out, upon encountering "complex" objects to log, which makes debugging tests considerably more difficult. Circular objects are sure to set it off (i.e., DOM nodes), but others with simply enough nesting will do it too. This also presents in the browser with --manual, I'm guessing due to something attempting to intercept all logs.

#1356 (comment) might be related and suggests this might be Mocha, but if so, are there any work arounds? Being able to quickly log a DOM node and other similarly "complex" objects to debug is a pretty crucial feature for my use, the current serializer, wherever it is, seems to really be struggling.

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