parent
a62a6ba40a
commit
39ad50657e
|
@ -181,11 +181,6 @@ export function main() {
|
|||
|
||||
it('should supporting binding to null', () => {
|
||||
var injector = createInjector([bind(Engine).toValue(null)]);
|
||||
|
||||
for (var i = 0; i < 20; ++i) {
|
||||
injector.get(Engine);
|
||||
}
|
||||
|
||||
var engine = injector.get(Engine);
|
||||
expect(engine).toBeNull();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue