aspect-build / aspect-build/rules_jest

[FR]: Support TypeScript for Jest Config Files

Open
#229 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Starlark
Stars
24
Forks
31
PR merge metrics
No merged PRs in 30d

Description

### What is the current behavior?

Only supports [these](https://github.com/aspect-build/rules_jest/blob/main/jest/private/jest_test.bzl#L9) extensions

### Describe the feature

We have a `jest.config.ts` we would like to use with rules_jest. This is currently not supported as it is not one of [these](https://github.com/aspect-build/rules_jest/blob/main/jest/private/jest_test.bzl#L9) extensions

Contributor guide

Open the contributing guide

Research direction

Start at jest/private/jest_test.bzl#L9, which lists the currently supported configuration extensions, and trace how that list is used when loading Jest config files. Done means a Jest project using jest.config.ts can run successfully through rules_jest alongside the existing supported extensions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.