import { addEnvironmentTest , addStartStopTest } from '../support/integration' ; import SauceLabsTunnel from '../../src/SauceLabsTunnel' ; function checkEnvironment ( environment ) { assert . property ( environment , 'short_version' ) ; assert . property ( environment , 'api_name' ) ; assert . property ( environment , 'os' ) ; } let suite = { } ; suite = addEnvironmentTest ( suite , SauceLabsTunnel , checkEnvironment ) ; suite = addStartStopTest ( suite , SauceLabsTunnel , { timeout : 120000 } ) ; registerSuite ( 'integration/SauceLabsTunnel' , suite ) ;