• Version 2.8.1
  • Published
  • 12.5 kB
  • 6 dependencies
  • MIT license


npm i @types/ember__test-helpers
yarn add @types/ember__test-helpers
pnpm add @types/ember__test-helpers


TypeScript definitions for @ember/test-helpers



interface TestContext

interface TestContext {}

    property element

    element: Element | Document;

      property owner

      owner: Owner;

        method clearRender

        clearRender: () => void;

          method factory

          factory: (fullName: string) => unknown;

            method get

            get: (key: string) => unknown;

              method getProperties

              getProperties: <K extends string>(...keys: K[]) => Pick<any, K>;

                method pauseTest

                pauseTest: () => Promise<void>;

                  method render

                  render: (template?: string | string[] | TemplateFactory) => Promise<void>;

                    method resumeTest

                    resumeTest: () => void;

                      method set

                      set: <V>(key: string, value: V) => V;

                        method setProperties

                        setProperties: <P extends Record<string, unknown>>(hash: P) => P;

                          Type Aliases

                          type Target

                          type Target = string | Element | Document;

                            Package Files (1)

                            Dependencies (6)

                            Dev Dependencies (0)

                            No dev dependencies.

                            Peer Dependencies (0)

                            No peer dependencies.


                            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/ember__test-helpers.

                            • Markdown
                            • HTML
                              <a href="https://www.jsdocs.io/package/@types/ember__test-helpers"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>