astro/packages/integrations/prefetch/test
Bjorn Lu 302e0ef8f5
Default preview host to localhost (#5753)
* Initial refactor

* Extract as vite plugin

* Cleanup vite plugin

* Reduce option passing

* Use localhost as preview default host

* Simplify base handling

* Fix host handling

* Add changeset

* Remove unused imports

* Remove unused sirv dep

* Try pin playwright to 1.28.1

* Update playwright

* Try this

* Speed up CI

* Try fix page off

* Refactor networkidle

* Ensure open connections are destroyed when the preview server is closed

* Revert debug code

Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
2023-01-09 12:14:07 -05:00
..
fixtures Prefetch styles only once (#5125) 2022-10-19 15:20:45 -04:00
basic-prefetch.test.js Default preview host to localhost (#5753) 2023-01-09 12:14:07 -05:00
custom-selectors.test.js Default preview host to localhost (#5753) 2023-01-09 12:14:07 -05:00
style-prefetch.test.js Default preview host to localhost (#5753) 2023-01-09 12:14:07 -05:00
test-utils.js Adds a prefetch integration for near-instant page navigations (#3725) 2022-06-27 18:26:21 +00:00