rsnext/test/unit
Jiwon Choi 022cb25640
fix(eslint): next/script beforeInteractive gives warning on appDir (#51148)
## Issue

The `context.getFilename()` gets the absolute path of the files, and the if statement to filter `/src` and `/app` was not working since #46609.

## Expected

Do not show a lint warning if use `beforeInteractive` inside `appDir`.

Fixes #46609 #50261
2023-11-12 09:30:10 +00:00
..
cssnano-simple More Turbopack fixes (#56299) 2023-10-02 13:55:23 +00:00
eslint-plugin-next fix(eslint): next/script beforeInteractive gives warning on appDir (#51148) 2023-11-12 09:30:10 +00:00
esm-interpolate Make esm default interpolation work with jest mock (#36877) 2022-05-13 16:39:38 +00:00
fixtures Fix static info parsing when export data fetching method as variable (#40317) 2022-09-07 09:28:15 -07:00
image-optimizer Add auto-detection of image/x-icon content type (#47013) 2023-03-10 20:36:33 +00:00
incremental-cache fix: updates for resuming postponed in minimal mode (#57375) 2023-11-03 21:17:45 +00:00
isolated fix duplicated error logging when start server (#55328) 2023-09-13 22:25:41 +00:00
next-image-loader fix(next/image): empty blur image when animated (#54028) 2023-08-15 02:17:40 +00:00
web-runtime chore: drop undici (#56899) 2023-10-19 18:35:12 +00:00
accept-headers.test.ts (Fix)(Tests)Fix typo in unit testing (#47644) 2023-04-01 22:23:15 -07:00
babel-plugin-next-page-config.test.ts
babel-plugin-next-ssg-transform.test.ts chore: upgrade jest (#56909) 2023-10-19 17:38:24 +00:00
cli.test.ts Opt-into worker mode when appDir is enabled (#47857) 2023-04-11 22:26:49 +02:00
example.txt
find-config.test.ts Support postcss.config.cjs (#38486) 2022-07-18 14:34:29 -05:00
find-page-file.test.ts Support generate dynamic sitemaps for dynamic routes (#48867) 2023-04-26 20:41:37 +00:00
get-node-options-without-inspect.test.ts
get-page-static-infos.test.ts ensure original matcher source is free of mutations (#47980) 2023-04-12 16:55:45 +02:00
get-project-dir.test.ts fix(next): dev server starting when importing a file using get-projec… (#38274) 2022-08-07 17:31:30 +00:00
getDisplayName.test.ts
htmlescape.test.ts
infer-get-server-side-props-type.test.ts fix: InferGetServerSidePropsType and InferGetStaticPropsType (#40635) 2022-09-20 15:25:01 -07:00
infer-get-static-props.test.ts fix: InferGetServerSidePropsType and InferGetStaticPropsType (#40635) 2022-09-20 15:25:01 -07:00
is-equal-node.unit.test.ts
is-serializable-props.test.ts chore: upgrade jest (#56909) 2023-10-19 17:38:24 +00:00
jest-next-swc.test.ts
link-rendering.test.ts chore: upgrade jest (#56909) 2023-10-19 17:38:24 +00:00
link-warnings.test.tsx Update repo to use react 18 by default (#35888) 2022-04-05 21:51:47 +00:00
loadGetInitialProps.test.ts
mitt.test.ts (Fix)(Tests)Fix typo in unit testing (#47644) 2023-04-01 22:23:15 -07:00
next-babel-loader-dev.test.ts chore: upgrade jest (#56909) 2023-10-19 17:38:24 +00:00
next-babel-loader-prod.test.ts chore: upgrade jest (#56909) 2023-10-19 17:38:24 +00:00
next-babel.test.ts chore: upgrade jest (#56909) 2023-10-19 17:38:24 +00:00
next-dynamic.test.tsx Separate next/dynamic implementation for app and pages (#45565) 2023-02-04 01:45:35 +00:00
next-head-rendering.test.ts
next-image-get-img-props.test.ts Add unstable_getImgProps export from next/image (#51205) 2023-06-29 01:35:08 +00:00
next-image-legacy.test.ts BREAKING CHANGE: Rename next/image to next/legacy/image & rename next/future/image to next/image (#41399) 2022-10-14 01:59:22 +00:00
next-image-new.test.ts fix: add missing <preload> for next/image in App Router (#52425) 2023-07-14 15:36:35 +00:00
next-server-utils.test.ts
next-swc.test.ts chore: upgrade jest (#56909) 2023-10-19 17:38:24 +00:00
oxford-comma.test.ts
page-route-sorter.test.ts chore: upgrade jest (#56909) 2023-10-19 17:38:24 +00:00
parse-page-static-info.test.ts Add export runtime test for pages and fully remove experimental.runtime (#48630) 2023-04-20 22:37:38 +00:00
parse-relative-url.test.ts fix(#33081): handle relative path correctly (#36823) 2022-05-22 16:43:48 +00:00
phaseConstants.test.ts
preserve-process-env.test.ts Do not re-assign process.env (#46914) 2023-03-09 14:41:50 -08:00
recursive-copy.test.ts Fix windows unit tests (#53412) 2023-07-31 18:06:18 -07:00
recursive-delete.test.ts File Reader Improvements (#54645) 2023-08-28 18:09:56 +00:00
recursive-readdir.test.ts File Reader Improvements (#54645) 2023-08-28 18:09:56 +00:00
router-add-base-path.test.ts Extract router utils to common functions (#37313) 2022-05-30 20:19:37 +02:00
split-cookies-string.test.ts Allow custom path for preview mode cookies (#38313) 2022-08-07 20:45:30 -05:00
validate-url.test.ts Fix canonical url for dynamic routes (#49512) 2023-05-09 16:31:06 -07:00
warn-removed-experimental-config.test.ts Warn experimental.appDir option can be removed (#55346) 2023-09-13 23:38:17 +00:00
webpack-config-overrides.test.ts Update to leverage turbo for build/prepublish (#37280) 2022-05-30 19:05:27 -05:00
write-app-declarations.test.ts fix: generate next-env.d.ts file during next lint command (#46249) 2023-02-28 11:51:22 -08:00