# Function test

- test<
  TState,
  TConnParams,
  TConnState,
  TVars,
  TInput,
  TDatabase extends AnyDatabaseProvider,
  TActions extends
  Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase>,
  >(
  input: ActorConfigInput<
  TState,
  TConnParams,
  TConnState,
  TVars,
  TInput,
  TDatabase,
  TActions,
  >,
  ): ActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase>

  #### Type Parameters

  - TState
  - TConnParams
  - TConnState
  - TVars
  - TInput
  - TDatabase extends AnyDatabaseProvider
  - TActions extends Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase>

  #### Parameters

  - input: ActorConfigInput<
    TState,
    TConnParams,
    TConnState,
    TVars,
    TInput,
    TDatabase,
    TActions,
    >

  #### Returns ActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase>

  - Defined in rivetkit-typescript/packages/rivetkit/src/actor/config.ts:553