import { AttackHelper } from '@ServiceHelpers' ; import { DummyContext } from '@Test/Utils' ; import { IAttack } from '@Interfaces' ; describe ( 'Weapon helper service helper constructor' , ( ) => { it ( 'should be defined' , async ( ) => { expect ( AttackHelper ) . toBeDefined ( ) ; } ) ; } ) ; describe ( 'Weapon service helpers' , ( ) => { it ( 'should trigger Fire method' , async ( ) => { const params = { weaponName : 'Death Star' , planetName : 'Alderaan' , } ; const result = await AttackHelper . Fire ( DummyContext . getCall ( params ) , params ) ; expect ( result ) . toBeDefined ( ) ; } ) ; } ) ;