mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
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
This commit is contained in:

committed by
Geoff Seemueller

parent
1055cda2f1
commit
497eb22ad8
16
packages/client/src/test/setup.ts
Normal file
16
packages/client/src/test/setup.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
// 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',
|
||||
}));
|
Reference in New Issue
Block a user