expectRouteExists function
Assert that a route exists in the router.
Implementation
void expectRouteExists(String route) {
expect(
Nylo.containsRoute(route),
isTrue,
reason: 'Expected route "$route" to exist',
);
}
Assert that a route exists in the router.
void expectRouteExists(String route) {
expect(
Nylo.containsRoute(route),
isTrue,
reason: 'Expected route "$route" to exist',
);
}