import Prototype from '../src/prototype' ; test ( 'prototype.ts -> Prototype' , ( ) => { const prototypeA = new Prototype ( ) ; prototypeA . primitive = 1 ; prototypeA . component = { } ; const prototypeB = prototypeA . clone ( ) ; expect ( prototypeB ) . not . toBe ( prototypeA ) ; expect ( prototypeB . component ) . not . toBe ( prototypeA . component ) ; expect ( prototypeB . primitive ) . toEqual ( prototypeA . primitive ) ; } ) ;