集成测试仪 集成测试仪。 安装 $ npm install segmentio/integration-tester 例子 assert ( integration ) . identify ( identify ) . sends ( 'content-type' , 'application/json' ) . sends ( { baz : 'foo' } ) . expects ( { users : { name : 'baz' } } ) . expects ( 200 , end ) ; assert ( integration ) . sends (