Skip to content

Commit

Permalink
Add shim tests for new object api.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Dec 25, 2011
1 parent ef5aadd commit 80d4f10
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Paul Miller <paulmillr@me.com> (http://paulmillr.com/)",
"name": "es6-shim",
"description": "ECMAScript 6 (Harmony) compatibility shims for legacy JavaScript engines",
"version": "0.1.0",
"version": "0.2.0",
"homepage": "https://github.com/paulmillr/es6-shim/",
"repository": {
"type": "git",
Expand Down
1 change: 0 additions & 1 deletion test/number.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ describe('Number', function() {

describe('Number.isNaN()', function() {
it('should be truthy on NaN', function() {
console.log(Number.isNaN);
expect(Number.isNaN(NaN)).to.be.ok();
});

Expand Down
14 changes: 8 additions & 6 deletions test/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,22 @@ describe('Object', function() {
});

describe('#getOwnPropertyDescriptors()', function() {
it('', function() {

it('should produce an array of properties', function() {
expect(false).to.be.ok();
});
});

describe('#getPropertyDescriptor()', function() {
it('', function() {

it('should produce an array of properties including inherited ones',
function() {
expect(false).to.be.ok();
});
});

describe('#getPropertyNames()', function() {
it('', function() {

it('should produce an array of property names including inherited ones',
function() {
expect(false).to.be.ok();
});
});
});

0 comments on commit 80d4f10

Please sign in to comment.