import * as index from 'rxjs/ajax' ; import { expect } from 'chai' ; describe ( 'index' , ( ) => { it ( 'should export static ajax observable creator functions' , ( ) => { expect ( index . ajax ) . to . exist ; } ) ; it ( 'should export Ajax data classes' , ( ) => { expect ( index . AjaxResponse ) . to . exist ; expect ( index . AjaxError ) . to . exist ; expect ( index . AjaxTimeoutError ) . to . exist ; let ajaxRequest ; } ) ; } ) ;