NuxtN
Nuxt14mo ago
LuisLC

Testing `import.meta.client` and/or `import.meta.server`

Basically, this: https://github.com/nuxt/test-utils/discussions/884

For me, its a soft-blocker to move from process.client to import.meta.client
GitHub
In one of my modules I have changed occurrences of process.server and process.client to import.meta.server and import.meta.client. Previously I was able to write unit tests for both cases (e.g. whe...
Was this page helpful?