astro/test
Matthew Phillips eb984559a8
Fix dynamic React components (#111)
Another change in snowpack@3 caused this bug. It's not actually a bug in snowpack. Previously snowpack was keeping its list of installed packages in a global cache. In 3.3 it stopped doing so. We were accidentally relying on that global cache to be able to resolve dynamic components.

This fixes it so that we use the frontend snowpack instance to resolve dynamic components. Doing so means they are available when we try to load them.
2021-04-19 14:41:06 -04:00
..
fixtures Fix dynamic React components (#111) 2021-04-19 14:41:06 -04:00
astro-basic.test.js Add Astro.fetchContent API (#91) 2021-04-13 18:08:32 -06:00
astro-collection.test.js Add Astro.fetchContent API (#91) 2021-04-13 18:08:32 -06:00
astro-doctype.test.js Add Windows Support (#93) 2021-04-14 13:21:25 -06:00
astro-dynamic.test.js Fix dynamic React components (#111) 2021-04-19 14:41:06 -04:00
astro-expr.test.js [ci] npm run format 2021-04-09 18:09:44 +00:00
astro-fallback.test.js Implement fallback capability (#44) 2021-03-31 16:10:27 -04:00
astro-markdown.test.js Add Windows Support (#93) 2021-04-14 13:21:25 -06:00
astro-request.test.js Implements import.meta.request (#46) 2021-03-31 16:47:03 -04:00
astro-scoped-styles.test.js Parse inner JSX as Astro (#67) 2021-04-09 14:09:13 -04:00
astro-search.test.js Improve searching for pages (#60) 2021-04-05 14:18:09 -04:00
astro-styles-ssr.test.js Add Windows Support (#93) 2021-04-14 13:21:25 -06:00
helpers.js Add Windows Support (#93) 2021-04-14 13:21:25 -06:00
react-component.test.js Add Windows Support (#93) 2021-04-14 13:21:25 -06:00
snowpack-integration.test.js Pass mode into snowpack runtime (#99) 2021-04-16 13:15:27 -04:00
test-utils.js chore fix lint reduce errors generated (#83) 2021-04-12 16:20:58 +01:00