Run app-snapshot in the before-test grinder task (#660)

This matches the behavior recommended by the tests if the snapshot is
out-of-date.
This commit is contained in:
Natalie Weizenbaum 2019-05-03 12:55:53 -07:00 committed by GitHub
parent 34c068a189
commit 9ff1e20064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@
import 'package:grinder/grinder.dart';
import 'grind/npm.dart';
import 'grind/standalone.dart';
import 'grind/synchronize.dart';
export 'grind/bazel.dart';
@ -35,5 +36,5 @@ format() {
npmInstall() => run("npm", arguments: ["install"]);
@Task('Runs the tasks that are required for running tests.')
@Depends(format, synchronize, npmPackage, npmInstall)
@Depends(format, synchronize, npmPackage, npmInstall, appSnapshot)
beforeTest() {}