Update expo application
Build and Push Next App / quality (push) Successful in 1m27s
Build and Push Next App / build-next (push) Successful in 3m58s

This commit is contained in:
Gabriel Brown
2026-06-22 12:13:02 -04:00
parent ddce5efb13
commit 42f95530de
78 changed files with 5315 additions and 421 deletions
+35
View File
@@ -0,0 +1,35 @@
import { fileURLToPath } from 'node:url';
import { defineConfig } from 'vitest/config';
import { jsdomProject, nodeProject } from '@spoon/vitest-config';
const srcRoot = fileURLToPath(new URL('./src', import.meta.url));
const setupFile = fileURLToPath(new URL('./tests/setup.ts', import.meta.url));
const alias = {
'~': srcRoot,
'~/': `${srcRoot}/`,
};
const componentProject = jsdomProject('component', [
'tests/component/**/*.test.{ts,tsx}',
]);
export default defineConfig({
resolve: {
alias,
},
test: {
projects: [
nodeProject('unit', ['tests/unit/**/*.test.{ts,tsx}']),
nodeProject('integration', ['tests/integration/**/*.test.{ts,tsx}']),
{
...componentProject,
resolve: { alias },
test: {
...componentProject.test,
setupFiles: [setupFile],
},
},
],
},
});