Files
admin/apps/web/tests/stubs/server-only.ts
T

7 lines
294 B
TypeScript

/**
* `server-only` is resolved by Next's bundler, not by node_modules, so importing any module
* that guards itself with it fails outside a Next build. Vitest aliases the specifier here;
* the guard has nothing to enforce in a test process that is server-side by definition.
*/
export {};