Skip to content

Commit

Permalink
Clean up Reflect test descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Apr 23, 2015
1 parent f702085 commit 9db86d5
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions test/reflect.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ describe('Reflect', function () {
expect(exported.Reflect).to.equal(Reflect);
});

describe('Reflect.apply()', function () {
describe('.apply()', function () {
it('is a function', function () {
expect(typeof Reflect.apply).to.equal('function');
});
Expand Down Expand Up @@ -113,7 +113,7 @@ describe('Reflect', function () {
});
});

describe('Reflect.construct()', function () {
describe('.construct()', function () {
it('is a function', function () {
expect(typeof Reflect.construct).to.equal('function');
});
Expand All @@ -139,7 +139,7 @@ describe('Reflect', function () {
});
});

describeIfES5('Reflect.defineProperty()', function () {
describeIfES5('.defineProperty()', function () {
it('is a function', function () {
expect(typeof Reflect.defineProperty).to.equal('function');
});
Expand Down Expand Up @@ -203,7 +203,7 @@ describe('Reflect', function () {
});
});

describe('Reflect.deleteProperty()', function () {
describe('.deleteProperty()', function () {
it('is a function', function () {
expect(typeof Reflect.deleteProperty).to.equal('function');
});
Expand Down Expand Up @@ -246,7 +246,7 @@ describe('Reflect', function () {
});
});

describe('Reflect.enumerate()', function () {
describe('.enumerate()', function () {
it('is a function', function () {
expect(typeof Reflect.enumerate).to.equal('function');
});
Expand Down Expand Up @@ -312,7 +312,7 @@ describe('Reflect', function () {
});
});

describeIfES5('Reflect.get()', function () {
describeIfES5('.get()', function () {
it('is a function', function () {
expect(typeof Reflect.get).to.equal('function');
});
Expand Down Expand Up @@ -365,7 +365,7 @@ describe('Reflect', function () {
});
});

describeIfES5('Reflect.set()', function () {
describeIfES5('.set()', function () {
it('is a function', function () {
expect(typeof Reflect.set).to.equal('function');
});
Expand Down Expand Up @@ -412,7 +412,7 @@ describe('Reflect', function () {
});
});

describeIfES5('Reflect.getOwnPropertyDescriptor()', function () {
describeIfES5('.getOwnPropertyDescriptor()', function () {
it('is a function', function () {
expect(typeof Reflect.getOwnPropertyDescriptor).to.equal('function');
});
Expand Down Expand Up @@ -441,7 +441,7 @@ describe('Reflect', function () {
});
});

describeIfGetProto('Reflect.getPrototypeOf()', function () {
describeIfGetProto('.getPrototypeOf()', function () {
it('is a function', function () {
expect(typeof Reflect.getPrototypeOf).to.equal('function');
});
Expand All @@ -463,7 +463,7 @@ describe('Reflect', function () {
});
});

describe('Reflect.has()', function () {
describe('.has()', function () {
it('is a function', function () {
expect(typeof Reflect.has).to.equal('function');
});
Expand Down Expand Up @@ -517,7 +517,7 @@ describe('Reflect', function () {
});
});

describeIfExtensionsPreventible('Reflect.isExtensible()', function () {
describeIfExtensionsPreventible('.isExtensible()', function () {
it('is a function', function () {
expect(typeof Reflect.isExtensible).to.equal('function');
});
Expand All @@ -538,7 +538,7 @@ describe('Reflect', function () {
});
});

describeIfGetOwnPropertyNames('Reflect.ownKeys()', function () {
describeIfGetOwnPropertyNames('.ownKeys()', function () {
it('is a function', function () {
expect(typeof Reflect.ownKeys).to.equal('function');
});
Expand Down Expand Up @@ -581,7 +581,7 @@ describe('Reflect', function () {
});
});

describeIfExtensionsPreventible('Reflect.preventExtensions()', function () {
describeIfExtensionsPreventible('.preventExtensions()', function () {
it('is a function', function () {
expect(typeof Reflect.preventExtensions).to.equal('function');
});
Expand All @@ -603,7 +603,7 @@ describe('Reflect', function () {
});
});

describeIfSetProto('Reflect.setPrototypeOf()', function () {
describeIfSetProto('.setPrototypeOf()', function () {
it('is a function', function () {
expect(typeof Reflect.setPrototypeOf).to.equal('function');
});
Expand Down

0 comments on commit 9db86d5

Please sign in to comment.