Skip to content

Commit

Permalink
Merge pull request flutter#97 from youssefali424/master
Browse files Browse the repository at this point in the history
  • Loading branch information
slovnicki committed Feb 27, 2021
2 parents 8e586d3 + 2263da8 commit 7b0f26e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/beamer_router_delegate_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ import 'package:flutter_test/flutter_test.dart';
import 'test_locations.dart';

void main() {
TestWidgetsFlutterBinding.ensureInitialized();
final location1 = Location1(pathBlueprint: '/l1');
final location2 = Location2(pathBlueprint: '/l2/:id');
final router = BeamerRouterDelegate(
initialLocation: location1,
);
router.setNewRoutePath(location1);

group('initialization & beaming', () {
test('initialLocation is set', () {
Expand Down

0 comments on commit 7b0f26e

Please sign in to comment.