createScriptedRefreshRequest — @gj-kit/expo-auth
A public function from @gj-kit/expo-auth/testing. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { createScriptedRefreshRequest } from '@gj-kit/expo-auth/testing';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * A {@link RefreshRequest} that answers from a fixed script, recording every call. A call past * the end of the script throws — surfacing as a test failure (via the session it appears as a * `'transient'` outcome carrying that error as `cause`, §3.3). */declare function createScriptedRefreshRequest(script: readonly RefreshRequestResult[]): { readonly request: RefreshRequest; readonly calls: readonly { readonly refreshToken: string; }[];};This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-auth - Version:
0.1.1 - Public entry:
./testing - Source: GitHub