@types/ember__test-helpers

  • Version 2.6.1
  • Published
  • 12.6 kB
  • 5 dependencies
  • MIT license

Install

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

Overview

TypeScript definitions for @ember/test-helpers

Index

Interfaces

interface TestContext

interface TestContext {}

    property element

    element: Element | Document;

      property owner

      owner: ApplicationInstance & {
      factoryFor(fullName: string, options?: {}): unknown;
      };

        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 (5)

                            Dev Dependencies (0)

                            No dev dependencies.

                            Peer Dependencies (0)

                            No peer dependencies.

                            Badge

                            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
                              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/ember__test-helpers)
                            • 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>