git.iko.soy/rowtype-yoga/purescript-yoga-react-native
on v0.1.1 help sign in
24 lines 653 B history raw
1import { defineConfig } from "vitest/config";
3export default defineConfig({
4 test: {
5 globals: true,
6 include: ["test/**/*.test.js"],
7 exclude: ["test/visual/**"],
8 alias: {
9 "react-native": new URL(
10 "./test/__mocks__/react-native.js",
11 import.meta.url,
12 ).pathname,
13 "react-native-macos": new URL(
14 "./test/__mocks__/react-native-macos.js",
15 import.meta.url,
16 ).pathname,
17 "react-native-fs": new URL(
18 "./test/__mocks__/react-native-fs.js",
19 import.meta.url,
20 ).pathname,
21 twrnc: new URL("./test/__mocks__/twrnc.js", import.meta.url).pathname,
22 },
23 },
24});