refactor(di): simplify Injector API

This commit is contained in:
vsavkin
2014-10-10 16:31:27 -04:00
parent f0870791f6
commit c3d9b5c91e
3 changed files with 8 additions and 10 deletions

View File

@ -10,5 +10,9 @@ export function main() {
it('should not be equal to another key if types are different', function () {
expect(Key.get('car')).not.toBe(Key.get('porsche'));
});
it('should return the passed in key', function () {
expect(Key.get(Key.get('car'))).toBe(Key.get('car'));
});
});
}