build: upgrade bazel rules to latest (#20768)

Add enough BUILD files to make it possible to
`bazel build packages/core/test`

Also re-format BUILD.bazel files with Buildifier.
Add a CI lint check that they stay formatted.

PR Close #20768
This commit is contained in:
Alex Eagle
2017-12-06 06:56:49 -08:00
committed by Jason Aden
parent 672733608b
commit 9dd60a5fb0
61 changed files with 757 additions and 131 deletions

View File

@ -49,13 +49,13 @@ export function main() {
player.onDone(() => log.push('done'));
flushMicrotasks();
player.triggerCallback('start');
(player as any).triggerCallback('start');
expect(log).toEqual(['started']);
player.play();
expect(log).toEqual(['started']);
player.triggerCallback('done');
(player as any).triggerCallback('done');
expect(log).toEqual(['started', 'done']);
player.finish();