mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00

Update README deployment steps and add deploy:secrets script to package.json update local inference script and README update lockfile reconfigure package scripts for development update test execution pass server tests Update README with revised Bun commands and workspace details remove pnpm package manager designator create bun server
16 lines
648 B
TypeScript
16 lines
648 B
TypeScript
// Vitest setup file
|
|
import '@testing-library/jest-dom';
|
|
import { vi } from 'vitest';
|
|
import React from 'react';
|
|
|
|
// Mock for framer-motion to avoid animation-related issues in tests
|
|
// vi.mock('framer-motion', () => ({
|
|
// motion: (Component: React.ElementType) => (props: any) => React.createElement(Component, props, props.children), // Changed this line
|
|
// AnimatePresence: (props: any) => React.createElement(React.Fragment, null, props.children),
|
|
// }));
|
|
|
|
// Mock for static data if needed
|
|
vi.mock('../static-data/welcome_home_text', () => ({
|
|
welcome_home_text: 'Welcome home text mock',
|
|
welcome_home_tip: 'Welcome home tip mock',
|
|
})); |