expectRoutesExist function

void expectRoutesExist(
  1. List<String> routes
)

Assert that routes exist in the router.

Implementation

void expectRoutesExist(List<String> routes) {
  expect(
    Nylo.containsRoutes(routes),
    isTrue,
    reason: 'Expected routes $routes to exist',
  );
}