• setMocks configures the Pulumi runtime to use the given mocks for testing.

    Parameters

    • mocks: Mocks

      The mocks to use for calls to provider functions and resource construction.

    • Optional project: string

      If provided, the name of the Pulumi project. Defaults to "project".

    • Optional stack: string

      If provided, the name of the Pulumi stack. Defaults to "stack".

    • Optional preview: boolean

      If provided, indicates whether or not the program is running a preview. Defaults to false.

    • Optional organization: string

      If provided, the name of the Pulumi organization. Defaults to nothing.

    Returns Promise<void>

Generated using TypeDoc