Skip to content

ember-command / test-support / arrangeCommand

Function: arrangeCommand()

ts
function arrangeCommand<C>(command): C

Use this to prepare a command for integration testing by assigning the owner to the command.

Type parameters

Type parameter
C extends Commandable

Parameters

ParameterTypeDescription
commandCThe command

Returns

C

The command with an assigned owner

Source

ember-command/declarations/test-support/index.d.ts:24


Generated using TypeDoc and typedoc-plugin-markdown.