testing/cross_backend/in_process_setup.ts view source
(options: InProcessSetupOptions): SetupTest import {default_in_process_setup} from '@fuzdev/fuz_app/testing/cross_backend/in_process_setup.js'; Build a SetupTest that creates a fresh TestApp per call via create_test_app and projects it into the TestFixture shape.
Same factory inputs create_test_app already takes — this helper
is a projection layer, not a new lifecycle. fuz_app's own src/test/
and consumer suites pass default_in_process_setup({...factory_inputs})
in place of the old per-suite factory-input bundle. The extra_accounts
slot (see InProcessSetupOptions) seeds bootstrap-time secondaries
directly via create_test_account_with_credentials against the same
DB the keeper just landed on — mirrors the cross-process
_testing_reset cradle so suite bodies read
fixture.extra_accounts[username] uniformly regardless of transport.
The describe-level auth_integration_truncate_tables / pglite WASM cache lifecycle stays in create_pglite_factory / create_describe_db (testing/db.ts) — default_in_process_setup doesn't manage db state beyond what create_test_app already does.
options
returns
SetupTest