feat(di): change the params of Provider and provide to start with "use"
Closes #4684
This commit is contained in:
@@ -28,7 +28,7 @@ class MyComp {
|
||||
|
||||
export function main() {
|
||||
describe('element probe', function() {
|
||||
beforeEachBindings(() => [provide(APP_VIEW_POOL_CAPACITY, {asValue: 0})]);
|
||||
beforeEachBindings(() => [provide(APP_VIEW_POOL_CAPACITY, {useValue: 0})]);
|
||||
|
||||
it('should return a TestElement from a dom element',
|
||||
inject([TestComponentBuilder, AsyncTestCompleter], (tcb: TestComponentBuilder, async) => {
|
||||
|
||||
Reference in New Issue
Block a user