mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
12 lines
285 B
Dart
12 lines
285 B
Dart
import 'dart:async';
|
|
import 'package:test/test.dart';
|
|
|
|
void main() {
|
|
test('Timeout test', () async {
|
|
await Future.delayed(const Duration(seconds: 1));
|
|
}, timeout: Timeout(Duration(microseconds: 1)));
|
|
|
|
test('Skipped test', () {
|
|
// do nothing
|
|
}, skip: 'skipped test');
|
|
}
|