Ok
This commit is contained in:
parent
30c04d6ba0
commit
d7db25ffd9
3 changed files with 19 additions and 3 deletions
|
@ -1 +1,2 @@
|
|||
export 'src/client.dart';
|
||||
export 'src/client.dart';
|
||||
export 'src/matchers.dart';
|
|
@ -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.
|
|
@ -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);
|
||||
}
|
Loading…
Reference in a new issue