@angular-package/testing
Version:
Jasmine unit testing wrapper with additional custom testing features.
1 lines • 1.27 kB
JavaScript
import{TestingCore}from"../testing-core.abstract";import{TestingDescribe}from"../testing-describe.class";import{TestingExpectation}from"../testing-expectation.class";import{TestingIt}from"../testing-it.class";import{TestingItToBeArrayOf}from"../it";export class TestingToBeArrayOf extends TestingCore{toBeArrayOf;constructor(t=!0,r=!0,e,i=[!0,!1],s=new TestingDescribe(t,e?.describe,i),o=new TestingIt(r,e?.it,i),n=new TestingExpectation){super(t,r,e,i,s,o,n),this.toBeArrayOf=new TestingItToBeArrayOf(t,r,e,i,s,o,n)}toBeArrayOfBigInt(t,r,e,i,s){return this.toBeArrayOf.bigint(t,r,e,i,s),this}toBeArrayOfDate(t,r,e,i,s){return this.toBeArrayOf.date(t,r,e,i,s),this}toBeArrayOfDefined(t,r,e,i,s){return this.toBeArrayOf.defined(t,r,e,i,s),this}toBeArrayOfFalse(t,r,e,i,s){return this.toBeArrayOf.false(t,r,e,i,s),this}toBeArrayOfNull(t,r,e,i,s){return this.toBeArrayOf.null(t,r,e,i,s),this}toBeArrayOfRegExp(t,r,e,i,s){return this.toBeArrayOf.regExp(t,r,e,i,s),this}toBeArrayOfString(t,r,e,i,s){return this.toBeArrayOf.string(t,r,e,i,s),this}toBeArrayOfSymbol(t,r,e,i,s){return this.toBeArrayOf.symbol(t,r,e,i,s),this}toBeArrayOfTrue(t,r,e,i,s){return this.toBeArrayOf.true(t,r,e,i,s),this}toBeArrayOfUndefined(t,r,e,i,s){return this.toBeArrayOf.undefined(t,r,e,i,s),this}}