xhr_interceptor_facade 0.0.1 copy "xhr_interceptor_facade: ^0.0.1" to clipboard
xhr_interceptor_facade: ^0.0.1 copied to clipboard

Dart 1 only

A starting point for Dart libraries or applications.

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.

0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A starting point for Dart libraries or applications.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

js

More

Packages that depend on xhr_interceptor_facade