mirror of
https://github.com/hanzoai/gui.git
synced 2026-10-25 02:31:41 +00:00
The grid test asserts the element's own style, which is what the rule sets; the computed value is jsdom's initial one. Co-authored-by: Hanzo Dev <[email protected]>
18 lines
466 B
TypeScript
18 lines
466 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'~': __dirname,
|
|
// The web build of every gui package names react-native and the bundler answers with the web one.
|
|
'react-native': 'react-native-web',
|
|
},
|
|
},
|
|
test: {
|
|
environment: 'jsdom',
|
|
include: ['**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
|
|
exclude: ['**/node_modules/**', '**/dist/**'],
|
|
root: __dirname,
|
|
},
|
|
})
|