rsnext/test
Shu Ding 6e734d92a1
Fix CSS imports from outside of the app dir when src folder is present (#42108)
Previously we use `path.join(compiler.context, chunk.name)` as the entry
name, which isn't always the case especially when there is the `src`
folder. This PR fixes that by using `appDir`.

## Bug

- [ ] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a 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 a helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-29 01:38:55 -07:00
..
.stats-app Merge app internal chunk into main chunk for layouts (#41902) 2022-10-27 16:50:46 -07:00
__mocks__ Update Edge Runtime (#38862) 2022-07-21 18:29:19 +00:00
development test(dev): support to run test with --turbo (#41908) 2022-10-26 22:56:18 -07:00
e2e Fix CSS imports from outside of the app dir when src folder is present (#42108) 2022-10-29 01:38:55 -07:00
integration Fix turbo css-modules test (#42103) 2022-10-28 17:39:48 -07:00
lib test(dev): support to run test with --turbo (#41908) 2022-10-26 22:56:18 -07:00
production BREAKING CHANGE: Remove React 17 (#41629) 2022-10-21 22:20:36 +00:00
unit Google fonts multiple weights & styles (#42008) 2022-10-27 15:25:57 -07:00
.gitignore
jest-setup-after-env.ts Adds tests to ensure eslint-plugin-next's available rules are properly exported and recommended rules are correctly defined. (#38183) 2022-06-30 11:31:33 -05:00
jest.d.ts Adds tests to ensure eslint-plugin-next's available rules are properly exported and recommended rules are correctly defined. (#38183) 2022-06-30 11:31:33 -05:00
readme.md refactor: split up CONTRIBUTING.md (#40515) 2022-09-16 14:54:58 -07:00
test-file.txt Add additional file serving tests (#12479) 2020-05-04 11:58:19 -05:00

See Testing for more information on how you can run/write/debug tests for Next.js.