2016-12-10 17:05:45 +00:00
|
|
|
import 'package:angel_framework/angel_framework.dart' as server;
|
|
|
|
import 'package:angel_client/angel_client.dart' as client;
|
2016-12-10 17:05:31 +00:00
|
|
|
import 'package:angel_test/angel_test.dart';
|
|
|
|
import 'package:test/test.dart';
|
|
|
|
|
|
|
|
main() {
|
2016-12-10 17:05:45 +00:00
|
|
|
server.Angel app;
|
|
|
|
client.Angel clientApp;
|
2016-12-10 17:05:31 +00:00
|
|
|
|
2016-12-10 17:05:45 +00:00
|
|
|
setUp(() async {
|
|
|
|
app.get('/hello', 'Hello');
|
|
|
|
|
|
|
|
clientApp = await connectTo(app);
|
|
|
|
});
|
|
|
|
|
|
|
|
tearDown(clientApp.close);
|
2016-12-10 17:05:31 +00:00
|
|
|
}
|