import { spawner , SpawnResult } from '@integration/testing-tools' ; import * as path from 'path' ; const jasmineExecutable = path . resolve ( require . resolve ( 'jasmine/package.json' ) , '..' , 'bin' , 'jasmine.js' ) ; const jasmineSpawner = spawner ( jasmineExecutable , { cwd : path . resolve ( __dirname , '..' ) } ) ; see https param { string [ ] } params export function jasmine ( ... params ) { return jasmineSpawner ( ... params , '--random=false' , '--reporter=@serenity-js/jasmine' , `--require=${ path . resolve ( __dirname , '../examples/setup.js' ) }` ) ; }