objectkeys.js 388 B

12345678910111213
  1. 'use strict';
  2. describe('object keys', function() {
  3. var docSet = jasmine.getDocSetFromFile('test/fixtures/objectkeys.js');
  4. it('should assign the correct longname and memberof to object keys after the first key', function() {
  5. var bar = docSet.getByLongname('myObject.bar')[0];
  6. expect(bar).toBeDefined();
  7. expect(bar.memberof).toBe('myObject');
  8. });
  9. });