Skip to content

Commit

Permalink
Extend builder timeouts (#2552)
Browse files Browse the repository at this point in the history
* increase timeouts for all builder tests

* add header
  • Loading branch information
jcollins-g committed Mar 2, 2021
1 parent 562273a commit b6b6574
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/mustachio/builder_test.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

@Timeout.factor(2)
import 'dart:convert';
import 'package:analyzer/dart/element/element.dart';
import 'package:build/build.dart';
Expand Down Expand Up @@ -219,7 +224,7 @@ import 'package:mustachio/annotations.dart';
expect(renderersLibrary.getTopLevelFunction('renderBar'), isNotNull);
expect(renderersLibrary.getType('_Renderer_Foo'), isNotNull);
expect(renderersLibrary.getType('_Renderer_Bar'), isNotNull);
}, timeout: Timeout.factor(2));
});

group('builds a renderer class for a generic type', () {
String generatedContent;
Expand Down

0 comments on commit b6b6574

Please sign in to comment.