Files
open-gsio/packages/client/src/test/setup.ts
geoffsee 497eb22ad8 change semantics
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
2025-06-04 18:45:08 -04:00

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',
}));