2024-09-23 01:44:59 +00:00
|
|
|
import 'package:platform_framework/platform_framework.dart';
|
|
|
|
import 'package:test/test.dart';
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
test('default view generator', () async {
|
2024-09-23 04:39:29 +00:00
|
|
|
var app = Protevus();
|
2024-09-23 01:44:59 +00:00
|
|
|
var view = await app.viewGenerator!('foo', {'bar': 'baz'});
|
|
|
|
expect(view, contains('No view engine'));
|
|
|
|
});
|
|
|
|
}
|