build: update rules_nodejs and clean up bazel warnings (#30370)

Preserve compatibility with rollup_bundle rule.
Add missing npm dependencies, which are now enforced by the strict_deps plugin in tsc_wrapped

PR Close #30370
This commit is contained in:
Alex Eagle
2019-05-09 14:51:51 -07:00
committed by Alex Rickabaugh
parent 3fecab64b1
commit 06efc340b6
30 changed files with 123 additions and 62 deletions

View File

@ -1522,7 +1522,7 @@ function declareTests(config?: {useJit: boolean}) {
expect(getDOM().nodeName(c.renderNode).toUpperCase()).toEqual('INPUT');
expect(getDOM().nodeName(c.componentRenderElement).toUpperCase()).toEqual('DIV');
expect((<Injector>c.injector).get).toBeTruthy();
expect(c.context).toBe(fixture.componentInstance);
expect(c.context).toEqual(fixture.componentInstance);
expect(c.references['local']).toBeDefined();
}
});
@ -1567,7 +1567,7 @@ function declareTests(config?: {useJit: boolean}) {
expect(getDOM().nodeName(c.renderNode).toUpperCase()).toEqual('SPAN');
expect(getDOM().nodeName(c.componentRenderElement).toUpperCase()).toEqual('DIV');
expect((<Injector>c.injector).get).toBeTruthy();
expect(c.context).toBe(fixture.componentInstance);
expect(c.context).toEqual(fixture.componentInstance);
expect(c.references['local']).toBeDefined();
}));
});