astro/packages/astro/test
Tony Sullivan 0209d6276c
Updates hydration scripts to use absolute paths (#3422)
* WIP: proof of concept fix to use absolute paths

* correct fix to handle absolute paths and config.base

* adding tests for hydration scripts with config.base

* chore: add changeset

* fix: ensure posix paths are used for Windows compat
2022-05-23 20:52:48 +00:00
..
benchmark Remove docs from monorepo (#2517) 2022-02-07 13:39:53 -05:00
fixtures Fix: Only trim /1 from the canonical URL for paginate() routes (#3393) 2022-05-20 20:07:30 +00:00
.eslintrc.cjs Chore: fix lint rules, add more error handling for unexpected cases (#177) 2021-05-06 14:57:14 -04:00
0-css.test.js Revert "Consolidate inline hydration scripts into one (#3244)" (#3275) 2022-05-03 15:18:17 -04:00
alias.test.js Fix tests: remove it.only (#3394) 2022-05-18 08:27:52 -04:00
api-routes.test.js [ci] format 2022-05-04 18:56:21 +00:00
astro-assets.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-attrs.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-basic.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-children.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-class-list.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-client-only.test.js Updates hydration scripts to use absolute paths (#3422) 2022-05-23 20:52:48 +00:00
astro-component-code.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-css-bundling-import.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-css-bundling.test.js fix: replaced deprecated String.substr with String.slice (#3224) 2022-04-27 15:43:43 -03:00
astro-directives.test.js [ci] format 2022-04-29 21:16:50 +00:00
astro-doctype.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-dynamic.test.js Updates hydration scripts to use absolute paths (#3422) 2022-05-23 20:52:48 +00:00
astro-envs.test.js Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
astro-expr.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-external-files.test.js Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
astro-fallback.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-get-static-paths.test.js [ci] format 2022-05-20 20:08:13 +00:00
astro-global.test.js Expose file and url for Astro files (#3385) 2022-05-19 10:49:14 -05:00
astro-markdown-css.test.js HMR hoisted scripts (#3336) 2022-05-11 09:23:11 -06:00
astro-markdown-drafts.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-markdown-plugins.test.js refactor(markdown): removed rehype-slug in favor of our own implementation (#3234) 2022-04-29 21:07:09 -03:00
astro-markdown-shiki.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-markdown-url.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-markdown.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-pageDirectoryUrl.test.js Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
astro-pages.test.js [ci] format 2022-05-16 18:45:15 +00:00
astro-pagination.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-partial-html.test.js Defer head injection until renderPage (#3408) 2022-05-19 15:21:48 -05:00
astro-public.test.js Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
astro-response.test.js Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
astro-scripts.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
astro-slots.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
cli.test.js [ci] format 2022-05-18 15:46:22 +00:00
component-library.test.js [ci] format 2022-05-12 16:05:06 +00:00
config-validate.test.js update prettier width (#2968) 2022-04-02 14:15:41 -06:00
config-vite.test.js Allow overriding build vite config options (#3392) 2022-05-18 15:11:40 -04:00
config.test.js [ci] format 2022-04-06 21:38:53 +00:00
custom-404-md.test.js Matching custom 404 pages using the manifest's route patterns (#3390) 2022-05-17 21:27:06 +00:00
custom-404.test.js [ci] format 2022-05-10 21:06:25 +00:00
custom-elements.test.js Revert "Consolidate inline hydration scripts into one (#3244)" (#3275) 2022-05-03 15:18:17 -04:00
debug-component.test.js Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
dev-routing.test.js [ci] format 2022-05-18 20:10:07 +00:00
error-react-spectrum.test.js [ci] format 2022-05-19 17:12:59 +00:00
errors.test.js Adding E2E tests for client hydration and HMR (#3374) 2022-05-23 16:56:45 +00:00
fetch.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
lit-element.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
markdown.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
page-level-styles.test.js Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
postcss.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
preact-component.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
preview-routing.test.js Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
react-component.test.js Revert "Consolidate inline hydration scripts into one (#3244)" (#3275) 2022-05-03 15:18:17 -04:00
remote-css.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
route-manifest.test.js Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
routing-priority.test.js [ci] format 2022-05-20 19:59:55 +00:00
sass.test.js Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
slots-preact.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
slots-react.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
slots-solid.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
slots-svelte.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
slots-vue.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
solid-component.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
ssr-adapter-build-config.test.js Implement the Astro.response RFC (#3289) 2022-05-05 12:21:53 -04:00
ssr-api-route.test.js Implement the Astro.response RFC (#3289) 2022-05-05 12:21:53 -04:00
ssr-assets.test.js Include server CSS in the manifest assets (#3402) 2022-05-19 08:38:27 -04:00
ssr-dynamic.test.js Implement the Astro.response RFC (#3289) 2022-05-05 12:21:53 -04:00
ssr-lit.test.js Make 'lit' always be bundled in SSR (#3164) 2022-04-21 11:12:21 -04:00
ssr-markdown.test.js [ci] format 2022-04-14 13:52:56 +00:00
ssr-request.test.js Implement the Astro.response RFC (#3289) 2022-05-05 12:21:53 -04:00
ssr-response.test.js Implement the Astro.response RFC (#3289) 2022-05-05 12:21:53 -04:00
static-build-code-component.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
static-build-frameworks.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
static-build-page-url-format.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
static-build.test.js Allowing Vite to handle base config for deploying to subpaths (#3178) 2022-05-05 22:39:16 +00:00
status-page.test.js Migrate to new config (#2962) 2022-04-02 12:29:59 -06:00
svelte-component.test.js chore: remove deprecation message when using cheerio's default export (#3225) 2022-04-27 15:43:31 -03:00
tailwindcss.test.js Adding E2E testing with Playwright (#3349) 2022-05-15 21:47:28 +00:00
test-adapter.js [ci] format 2022-04-14 13:52:56 +00:00
test-utils.js [ci] format 2022-05-23 16:57:55 +00:00
vue-component.test.js Revert "Consolidate inline hydration scripts into one (#3244)" (#3275) 2022-05-03 15:18:17 -04:00