test(mobile): drop the race helpers the surviving case no longer uses

Claude-Session: https://claude.ai/code/session_01JNnE9qzUZMMnqpZWCqM3nb
This commit is contained in:
Jinwoo-H
2026-09-07 16:48:07 -04:00
parent a77aba3402
commit 65cd6a9647
2 changed files with 0 additions and 10 deletions
@@ -5,7 +5,6 @@ import { MobileWebNativeChatAuthority } from './mobile-web-native-chat-authority
import { MobileWebWorkspaceAuthority } from './mobile-web-workspace-authority'
describe('mobile web mutation authorization races', () => {
it('rejects native-chat persistence when the tab lookup loses its workspace authority', async () => {
const workspace = workspaceAuthority()
const chat = new MobileWebNativeChatAuthority((length) => new Uint8Array(length).fill(5))
@@ -76,11 +75,3 @@ function client(sendRequest: ReturnType<typeof vi.fn>): RpcClient {
function success(result: unknown) {
return { ok: true as const, result }
}
function failure() {
return { ok: false as const, error: { code: 'unexpected', message: 'unexpected' } }
}
function callsFor(sendRequest: ReturnType<typeof vi.fn>, method: string) {
return sendRequest.mock.calls.filter(([candidate]) => candidate === method)
}
-1
View File
@@ -1 +0,0 @@
{ "extends": "./tsconfig.json", "compilerOptions": { "paths": { "@orca/expo-mobile-web-shell": ["./packages/expo-mobile-web-shell/src/index.ts"], "@orca/expo-mobile-web-shell/*": ["./packages/expo-mobile-web-shell/src/*"] } } }