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

10 lines
244 B
TypeScript
Raw Normal View History

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)']
}
export default config