import chrome from 'sinon-chrome' ; global . chrome = chrome ; ( global as any ) . browser = chrome ; ( global as any ) . exportFunction = jest . fn ( ( func ) => func ) ; ( global as any ) . cloneInto = jest . fn ( ( obj ) => obj ) ;