0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-22 11:17:33 +01:00
hono/.vitest.config/jsx-runtime-default.ts
Taku Amano 32e1b6dd94
feat(jsx/dom): startTransition() and useTransition() (#1996)
* feat(jsx/dom): startTransition() and useTransition()

* chore: denoify

* feat(jsx): add useDeferredValue()

* chore: denoify

* test(jsx): `npm run format:fix`ed
2024-01-17 05:26:59 +09:00

13 lines
287 B
TypeScript

import config from '../vitest.config'
config.esbuild = {
jsx: 'automatic',
jsxImportSource: __dirname + '/../src/jsx',
}
if (config.test) {
config.test.include = [
'**/src/jsx/dom/**/(*.)+(spec|test).+(ts|tsx|js)',
'src/jsx/hooks/dom.test.tsx',
]
}
export default config