@angular-package/testing
Version:
Jasmine unit testing wrapper with additional custom testing features.
1 lines • 705 B
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{TestingItToBe}from"../it";export class TestingToBeNumber extends TestingCore{toBe;constructor(e=!0,t=!0,s,i=[!0,!1],r=new TestingDescribe(e,s?.describe,i),n=new TestingIt(t,s?.it,i),o=new TestingExpectation){super(e,t,s,i,r,n,o),this.toBe=new TestingItToBe(e,t,s,i,r,n,o)}toBeNumber(e,t,s,i,r){return this.toBe.number(e,t,s,i,r),this}toBeNumberBetween(e,t,s,i,r,n,o){return this.toBe.numberBetween(e,t,s,i,r,n,o),this}toBeNumberType(e,t,s,i,r){return this.toBe.numberType(e,t,s,i,r),this}}