mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
9abcd7fe03
* refactor: move Apple platform family into package * fix: preserve Apple facade sync contracts * fix: complete Apple W4 rebase review fixes
17 lines
597 B
TypeScript
17 lines
597 B
TypeScript
import { beforeEach } from 'vitest';
|
|
import {
|
|
appleRunnerTestHost,
|
|
installAppleRunnerTestHost,
|
|
loadAppleRunnerHost,
|
|
} from '@agent-device/platform-apple/runner/test-host';
|
|
|
|
// The apple-runner vitest project runs the package's own suites, which cannot
|
|
// import root utilities directly (R11). This setup installs the real root host
|
|
// capabilities as overridable defaults, so package tests exercise genuine
|
|
// retry/lock/exec semantics and stub individual capabilities per test.
|
|
installAppleRunnerTestHost(await loadAppleRunnerHost());
|
|
|
|
beforeEach(() => {
|
|
appleRunnerTestHost.reset();
|
|
});
|