UNPKG

@angular-package/testing

Version:

Jasmine unit testing wrapper with additional custom testing features.

1 lines 637 B
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 TestingToBeLessThan extends TestingCore{toBe;constructor(t=!0,e=!0,s,i=[!0,!1],n=new TestingDescribe(t,s?.describe,i),o=new TestingIt(e,s?.it,i),r=new TestingExpectation){super(t,e,s,i,n,o,r),this.toBe=new TestingItToBe(t,e,s,i,n,o,r)}toBeLessThan(t,e,s,i,n){return this.toBe.lessThan(t,e,s,i,n),this}toBeLessThanOrEqual(t,e,s,i,n){return this.toBe.lessThanOrEqual(t,e,s,i,n),this}}