This repository has been archived by the owner on Aug 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
693 additions
and
613 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
docs/ | ||
test/ | ||
.eslintrc | ||
.gitignore | ||
.travis.yml | ||
Gruntfile.js | ||
karma.conf.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
env: | ||
browser: true | ||
es6: true | ||
mocha: true | ||
globals: | ||
is: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
describe( 'bundle:boolean' , function () { | ||
|
||
it( 'is.boolean' , function () { | ||
expect( is.boolean( 1 ) ).to.not.be.ok() | ||
expect( is.boolean( 0 ) ).to.not.be.ok() | ||
expect( is.boolean( true ) ).to.be.ok() // ← | ||
expect( is.boolean( false ) ).to.be.ok() // ← | ||
expect( is.boolean( new Boolean( true ) ) ).to.not.be.ok() | ||
expect( is.boolean( new Boolean( false ) ) ).to.not.be.ok() | ||
expect( is.boolean( 1 ) ).not.toBeTruthy() | ||
expect( is.boolean( 0 ) ).not.toBeTruthy() | ||
expect( is.boolean( true ) ).toBeTruthy() // ← | ||
expect( is.boolean( false ) ).toBeTruthy() // ← | ||
expect( is.boolean( new Boolean( true ) ) ).not.toBeTruthy() | ||
expect( is.boolean( new Boolean( false ) ) ).not.toBeTruthy() | ||
} ) | ||
|
||
} ) |
Oops, something went wrong.