0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 03:40:50 +01:00
hono/.vitest.config/jsx-runtime-dom.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
291 B
TypeScript

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