Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Capturing libsass cerr output for testing purposes #2858

@PolyPik

Description

@PolyPik

Libsass directly writes its deprecation warnings to std::cerr in certain functions.

As a result, it becomes very hard to check these warnings in the tests as there is no error object being returned once the sass module has finished rendering (no exception thrown means no error object). Existing packages and methods for capturing the stderr output only works for output coming from the Javascript code and not output coming from native modules.

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