license import * as tfliteWebApiClient from './tflite_web_api_client' ; describe ( 'TFLiteWebAPIClient' , ( ) => { beforeEach ( ( ) => { } ) ; it ( 'should all its exported types defined' , ( ) => { const tfliteWeb = tfliteWebApiClient . tfweb ; for ( const field of Object . keys ( tfliteWeb ) ) { expect ( ( tfliteWeb as any ) [ field ] ) . toBeDefined ( ) ; } expect ( tfliteWeb [ 'tflite_web_api' ] [ 'setWasmPath' ] ) . toBeDefined ( ) ; expect ( tfliteWeb [ 'tflite_web_api' ] [ 'getWasmFeatures' ] ) . toBeDefined ( ) ; } ) ; } ) ;