@angular-package/testing
Version:
Jasmine unit testing wrapper with additional custom testing features.
1 lines • 933 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 TestingToBeObject extends TestingCore{toBe;constructor(t=!0,e=!0,s,o=[!0,!1],i=new TestingDescribe(t,s?.describe,o),n=new TestingIt(e,s?.it,o),r=new TestingExpectation){super(t,e,s,o,i,n,r),this.toBe=new TestingItToBe(t,e,s,o,i,n,r)}toBeObject(t,e,s,o,i){return this.toBe.object(t,e,s,o,i),this}toBeObjectKey(t,e,s,o,i,n){return this.toBe.objectKey(t,e,s,o,i,n),this}toBeObjectKeyIn(t,e,s,o,i,n){return this.toBe.objectKeyIn(t,e,s,o,i,n),this}toBeObjectKeys(t,e,s,o,i,n){return this.toBe.objectKeys(t,e,s,o,i,n),this}toBeObjectKeysIn(t,e,s,o,i,n){return this.toBe.objectKeysIn(t,e,s,o,i,n),this}toBeObjectSomeKeys(t,e,s,o,i,n){return this.toBe.objectSomeKeys(t,e,s,o,i,n),this}}