rsnext/packages/next/build/swc
Tim Neutkens 5aa54b3385
Add pagesDir to Jest transformer (#36599)
Fixes #35469

Adds `pagesDir` which is required for the Relay transform.

Added a test case based on https://github.com/hanford/relay-swc-jest.



## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`


Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
2022-05-01 16:39:30 +00:00
..
index.d.ts Tweak lockfile patching to be eager (#36549) 2022-04-28 16:40:37 +00:00
index.js Tweak lockfile patching to be eager (#36549) 2022-04-28 16:40:37 +00:00
jest-transformer.js Add pagesDir to Jest transformer (#36599) 2022-05-01 16:39:30 +00:00
options.d.ts Provide page runtime parsing utils (#34922) 2022-03-02 09:41:41 -08:00
options.js Add pagesDir to Jest transformer (#36599) 2022-05-01 16:39:30 +00:00