Skip to content

Commit

Permalink
update(router): implement core navigation structure
Browse files Browse the repository at this point in the history
- implement test case
  • Loading branch information
phoenixit99 committed Dec 12, 2024
1 parent 23eaac6 commit f263f4c
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions test/src/core/router/app_router_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,29 @@ void main() {
setUp(() {
// Reset any necessary test state
});
test('Route paths should match enum values', () {
expect(AppRoute.splash.routePath, '/');
});

test('Route names should match enum values', () {
expect(AppRoute.splash.name, 'splash');
});

test('Route names should match enum values', () {
expect(AppRoute.welcome.name, 'welcome');
});

test('Route names should match enum values', () {
expect(AppRoute.initializeMode.name, 'initializeMode');
});

test('Route names should match enum values', () {
expect(AppRoute.restorationSeed.name, 'restorationSeed');
});

test('Route names should match enum values', () {
expect(AppRoute.basicPassword.name, 'basicPassword');
});

test('Route names should match enum values', () {
expect(AppRoute.dashboard.name, 'dashboard');
});
});
}

0 comments on commit f263f4c

Please sign in to comment.