mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
Carries over #33221 and #33210. Replaces our #34484 Duo support with the community design, on top of main's rebuilt terminal key bar (#36166). Fixes #33200 Co-authored-by: Takeshi Matsumoto <zytakeshi520@gmail.com> Co-authored-by: Lars Keggenhoff <lars@kghf.io>
18 lines
536 B
TypeScript
18 lines
536 B
TypeScript
import { vi } from 'vitest'
|
|
|
|
// Native SVG's generated components import Flow-only native subpaths outside the RN host mocks.
|
|
vi.mock('react-native-svg', () => ({
|
|
default: 'Svg',
|
|
Defs: 'Defs',
|
|
G: 'G',
|
|
LinearGradient: 'LinearGradient',
|
|
Path: 'Path',
|
|
Rect: 'Rect',
|
|
Stop: 'Stop'
|
|
}))
|
|
|
|
// The reserved-regions module is iOS-only native code; tests run as a platform without it.
|
|
vi.mock('./modules/orca-reserved-regions/src', () => ({ OrcaReservedRegions: null }))
|
|
|
|
Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true })
|