Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "test/test"

Index

Functions

Functions

asyncTest

  • asyncTest(fn: function): (Anonymous function)
  • Wrapper for Jasmine async tests.

    Example:

     describe("Something", () => {
         it("should do something", asyncTest(async () => {
             expect(await something()).toBeTrue();
         }));
     });
    

    Parameters

    • fn: function
        • (): any
        • Returns any

    Returns (Anonymous function)

Generated using TypeDoc