instanceproperty.js 447 B

12345678910111213
  1. 'use strict';
  2. describe('Properties documented in instance methods', function() {
  3. var docSet = jasmine.getDocSetFromFile('test/fixtures/instanceproperty.js');
  4. var bar = docSet.getByLongname('Foo#bar')[0];
  5. it('should set the correct longname when a property is documented in an instance method', function() {
  6. expect(bar).toBeDefined();
  7. expect(bar.name).toBe('bar');
  8. expect(bar.kind).toBe('member');
  9. });
  10. });