expectNotRoute function
Assert that the current route is not the specified route.
Implementation
void expectNotRoute(String route) {
final currentRoute = Nylo.getCurrentRouteName();
expect(
currentRoute,
isNot(route),
reason: 'Expected route to not be "$route"',
);
}