Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
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