fix(tests): fixed a broken test
This commit is contained in:
parent
ff84506bd5
commit
ee36aaf163
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
|
||||
]);
|
||||
|
||||
injector.asyncGet(UserList).then(() => {
|
||||
injector.asyncGet(UserList).then((_) => {
|
||||
expect(() => { injector.get(UserController); }).not.toThrow();
|
||||
async.done();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user