@types/ember-testing-helpers

  • Version 0.0.9
  • Published
  • 6.18 kB
  • 2 dependencies
  • MIT license

Install

npm i @types/ember-testing-helpers
yarn add @types/ember-testing-helpers
pnpm add @types/ember-testing-helpers

Overview

TypeScript definitions for ember-testing-helpers

Index

Namespaces

namespace global

namespace global {}

    function andThen

    andThen: <T>(callback: (...args: any[]) => T) => RSVP.Promise<T>;

      function click

      click: (selector: string, context?: Object) => RSVP.Promise<T>;

        function currentPath

        currentPath: () => string;

          function currentRouteName

          currentRouteName: () => string;

            function currentURL

            currentURL: () => string;

              function fillIn

              fillIn: {
              (selector: string, context: Object, text: string): RSVP.Promise<T>;
              (selector: string, text: string): RSVP.Promise<T>;
              };

                function find

                find: (selector: string, context?: Object) => JQuery<Node>;

                  function findWithAssert

                  findWithAssert: (selector: string, context?: Object) => JQuery<Node>;

                    function keyEvent

                    keyEvent: (
                    selector: string,
                    type: KeyEventType,
                    keyCode: number
                    ) => RSVP.Promise<T>;

                      function pauseTest

                      pauseTest: () => RSVP.Promise<{}>;

                        function resumeTest

                        resumeTest: () => void;

                          function triggerEvent

                          triggerEvent: {
                          (
                          selector: string,
                          context: Object,
                          type: string,
                          options: Object
                          ): RSVP.Promise<T>;
                          (selector: string, context: Object, type: string): RSVP.Promise<T>;
                          (selector: string, type: string, options: Object): RSVP.Promise<T>;
                          (selector: string, type: string): RSVP.Promise<T>;
                          };

                            function visit

                            visit: <T>(route: string) => RSVP.Promise<T>;

                              function wait

                              wait: <T>(value: T) => RSVP.Promise<T>;

                                Package Files (1)

                                Dependencies (2)

                                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-testing-helpers.

                                • Markdown
                                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/ember-testing-helpers)
                                • HTML
                                  <a href="https://www.jsdocs.io/package/@types/ember-testing-helpers"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>