dart-sass/test/cli/node/watch_test.dart

23 lines
623 B
Dart
Raw Normal View History

// Copyright 2018 Google Inc. Use of this source code is governed by an
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
2019-04-23 11:45:49 -07:00
// OS X's modification time reporting is flaky, so we skip these tests on it.
@TestOn('!mac-os')
2018-11-15 15:16:24 -08:00
@Tags(['node'])
2019-09-11 11:53:26 -07:00
// File watching is inherently flaky at the OS level. To mitigate this, we do a
// few retries when the tests fail.
@Retry(3)
import 'package:test/test.dart';
import '../../ensure_npm_package.dart';
import '../node_test.dart';
import '../shared/watch.dart';
void main() {
setUpAll(ensureNpmPackage);
sharedTests(runSass);
}