xhr_interceptor_facade

Use http-mocker in Dart tests.

Usage

A simple usage example:

main() {
  var xi = new XHRInterceptor();

  xi.matchAll([
    M('/some-route', {
      'response_field_1': 1,
      'response_field_2': 'aa',
      'response_field_3': true
    })
  ]);

  xi.intercept();
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

Libraries

xhr_interceptor_facade
Support for doing something awesome. [...]