-
Notifications
You must be signed in to change notification settings - Fork 2
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
10 changed files
with
208 additions
and
152 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["es2015"] | ||
} |
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 |
---|---|---|
|
@@ -37,3 +37,5 @@ jspm_packages | |
# Optional REPL history | ||
.node_repl_history | ||
|
||
lib | ||
|
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
### Node ### | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules | ||
jspm_packages | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
.babelrc | ||
.gitignore | ||
.travis.yml | ||
node_modules | ||
src |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Changlelog | ||
|
||
## [1.0.1] - 2016-04-08 | ||
- Use babel and ava instead of mocha | ||
|
||
## [1.0.0] - 2016-04-07 | ||
- Initial version |
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import test from 'ava'; | ||
import {runTest} from './runTest.helper.js'; | ||
|
||
test('Should retun error if there is no html files specified', t => { | ||
return runTest({html: null}).catch(err => { | ||
t.is(err, 'No html files specified.'); | ||
}); | ||
}); | ||
|
||
test('Should retun error if ignore is not an array', t => { | ||
return runTest({ignore: 'test'}).catch(err => { | ||
t.is(err, 'ignore option should be an array.'); | ||
}); | ||
}); | ||
|
||
test('Should return error if ignoreRegexp is not an array', t => { | ||
return runTest({ignoreRegexp: 'test'}).catch(err => { | ||
t.is(err, 'ignoreRegexp option should be an array.'); | ||
}); | ||
}); | ||
|
||
test('Should retun error if ignoreRegexp contains not a regexp', t => { | ||
return runTest({ignoreRegexp: ['test']}).catch(err => { | ||
t.is(err, 'ignoreRegexp option should contain regular expressions.'); | ||
}); | ||
}); | ||
|
||
test('Should retun error if ngclass is not boolean', t => { | ||
return runTest({ngclass: 'test'}).catch(err => { | ||
t.is(err, 'ngclass option should be boolean.'); | ||
}); | ||
}); | ||
|
||
test('Should retun error if ignoreNesting is not boolean', t => { | ||
return runTest({ignoreNesting: 'test'}).catch(err => { | ||
t.is(err, 'ignoreNesting option should be boolean.'); | ||
}); | ||
}); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.