UNPKG

@angular-package/testing

Version:

Jasmine unit testing wrapper with additional custom testing features.

1 lines 1.92 kB
import{TESTING_BIGINT}from"./big-int.const";import{TestingClass}from"./class.const";import{TESTING_FALSE,TESTING_TRUE,TESTING_TRUE_INSTANCE,TESTING_FALSE_INSTANCE}from"./boolean.const";import{TESTING_NULL}from"./null.const";import{TESTING_NUMBER,TESTING_NUMBER_CONSTRUCTOR,TESTING_NUMBER_INSTANCE}from"./number.const";import{TESTING_STRING,TESTING_STRING_CONSTRUCTOR,TESTING_STRING_INSTANCE}from"./string.const";import{TESTING_UNDEFINED}from"./undefined.const";import{TESTING_NOT_DEFINED}from"../variable/not-defined.variable";import{TESTING_FUNCTION,TESTING_FUNCTION_CONSTRUCTOR,TESTING_FUNCTION_CONSTRUCTOR_PERSON}from"./function.const";import{TESTING_SYMBOL_NUMBER,TESTING_SYMBOL_STRING}from"./symbol.const";export const TESTING_ARRAY_BIGINT=[TESTING_BIGINT,TESTING_BIGINT];export const TESTING_ARRAY_BOOLEAN=[!0,!1,TESTING_TRUE_INSTANCE,TESTING_FALSE_INSTANCE,!1,TESTING_FALSE,TESTING_TRUE];export const TESTING_ARRAY_CLASS=[new TestingClass,new TestingClass];export const TESTING_ARRAY_FUNCTION=[TESTING_FUNCTION,TESTING_FUNCTION_CONSTRUCTOR,TESTING_FUNCTION_CONSTRUCTOR_PERSON,(T,N)=>T];export const TESTING_ARRAY_NULL=[null,null,null,TESTING_NULL,TESTING_NULL];export const TESTING_ARRAY_NUMBER=[1,2,3,4,7,10,1e3,3e3,151233,TESTING_NUMBER,TESTING_NUMBER_CONSTRUCTOR,TESTING_NUMBER_INSTANCE];export const TESTING_ARRAY_OBJECT_ONE=[{[TESTING_NUMBER]:"my number",x:3e3},{[TESTING_NUMBER]:"my number",x:1}];export const TESTING_ARRAY_STRING=[TESTING_STRING,TESTING_STRING_CONSTRUCTOR,TESTING_STRING_INSTANCE,"!@#$%^&*()Company"];export const TESTING_ARRAY_SYMBOL_NUMBER=[TESTING_SYMBOL_NUMBER,Symbol(1005),Symbol(1002),Symbol(15),Symbol(1)];export const TESTING_ARRAY_SYMBOL_STRING=new Array([TESTING_SYMBOL_STRING,Symbol("String Symbol"),Symbol("String Symbol"),Symbol("String Symbol One"),Symbol("String Symbol Two")]);export const TESTING_ARRAY_UNDEFINED=[void 0,void 0,void 0,TESTING_UNDEFINED,TESTING_NOT_DEFINED];