xhr_interceptor_facade 0.0.1 xhr_interceptor_facade: ^0.0.1 copied to clipboard
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.