Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

refactor: extract vca registration into an external/shared js file #470

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Apr 28, 2021

We're no longer quite so tied to Nuxt implementation details. And as a side effect, jest users don't have to register VCA manually (unintentional regression from #438).

closes #468

HT: @pi0

@danielroe danielroe self-assigned this Apr 28, 2021
@danielroe danielroe merged commit 16e21eb into main Apr 28, 2021
@danielroe danielroe deleted the refactor/simplify-vca-registration branch April 28, 2021 15:19
danielroe added a commit that referenced this pull request May 17, 2021
* addresses issue with .mjs format (nuxt + jest)
* uses `require.resolve` to locate templates
* compile composables into single file
* reverts 16e21eb (#470)
* retains auto-registration for testing (in cjs export - if `process.env.NODE_ENV === 'test'`)

closes #476, closes #479 (by implementing), closes nuxt/vite#134, closes nuxt/vite#123
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: Jest tests are inaccurate since v.0.23.0
1 participant