fix(tests): fixed a broken test
This commit is contained in:
2
modules/angular2/test/di/async_spec.js
vendored
2
modules/angular2/test/di/async_spec.js
vendored
@ -161,7 +161,7 @@ export function main() {
|
|||||||
UserController
|
UserController
|
||||||
]);
|
]);
|
||||||
|
|
||||||
injector.asyncGet(UserList).then(() => {
|
injector.asyncGet(UserList).then((_) => {
|
||||||
expect(() => { injector.get(UserController); }).not.toThrow();
|
expect(() => { injector.get(UserController); }).not.toThrow();
|
||||||
async.done();
|
async.done();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user