Skip to content

Add @angular-builders/custom-esbuild:unit-test builderΒ #1932

@th0r

Description

@th0r

Is your feature request related to a problem? Please describe.
Currently there is no way to run unit tests having custom esbuild plugins as @angular-builders/custom-esbuild has only 2 builders: application and dev-server.

Describe the solution you'd like
There is an official (but still experimental) @angular/build:unit-test builder which uses esbuild to build an app and Vitest as a test runner.

Can we add a corresponding @angular-builders/custom-esbuild:unit-test builder that will wrap it and allow to provide an extra esbuild plugins just like @angular-builders/custom-esbuild:application does?

Describe alternatives you've considered
I couldn't find any other alternative.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions