This commit is contained in:
thosakwe 2016-12-10 12:05:45 -05:00
parent 30c04d6ba0
commit d7db25ffd9
3 changed files with 19 additions and 3 deletions

View file

@ -1 +1,2 @@
export 'src/client.dart';
export 'src/client.dart';
export 'src/matchers.dart';

View file

@ -0,0 +1,6 @@
import 'dart:convert';
import 'package:http/http.dart' as http;
import 'package:matcher/matcher.dart';
/// Expects a given response, when parsed as JSON,
/// to equal a desired value.

View file

@ -1,8 +1,17 @@
import 'package:angel_framework/angel_framework.dart';
import 'package:angel_framework/angel_framework.dart' as server;
import 'package:angel_client/angel_client.dart' as client;
import 'package:angel_test/angel_test.dart';
import 'package:test/test.dart';
main() {
Angel app;
server.Angel app;
client.Angel clientApp;
setUp(() async {
app.get('/hello', 'Hello');
clientApp = await connectTo(app);
});
tearDown(clientApp.close);
}