This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Fix tests #9
Merged
Merged
Fix tests #9
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
830b216
don't depend on folder name being 'swig' in test regex
paulcpederson c3c4127
install rimraf as devDependency and clean up package.json
paulcpederson 5f37407
clean up tests for bin, ensure that temporary files are cleaned up af…
paulcpederson 6f19467
method name compile should now pass in v0.10.x and v5.x
paulcpederson 683609e
test all LTS release versions in travis
paulcpederson a73b191
test
paulcpederson a3bad88
parse jslint output in precommit hook
paulcpederson 168e72e
update files to pass updated jslint
paulcpederson a0f1a4d
fix default filter logic
paulcpederson 54fda90
simplify lint error check in precommit hook
paulcpederson d1d9267
add a new line after make lint
paulcpederson d25cd55
delete old lint config
paulcpederson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,4 +1,7 @@ | ||
language: node_js | ||
script: "make lint && make test reporter=spec && make test-browser reporter=spec && make coverage cov-reporter=travis-cov" | ||
node_js: | ||
- "stable" | ||
- "4.2" | ||
- "0.12" | ||
- "0.10" |
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 |
---|---|---|
|
@@ -68,7 +68,7 @@ var command, | |
out = function (file, str) { | ||
console.log(str); | ||
}, | ||
efn = function () {}, | ||
efn = function () { return; }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this to satisfy the linter? IMO this doesn't add clarity, it just seems crufty. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, every instance in which I'm returning inside an empty function is to satisfy the linter. |
||
anonymous, | ||
files, | ||
fn; | ||
|
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,40 @@ | ||
{ | ||
"adsafe": false, | ||
"bitwise": true, | ||
"browser": false, | ||
"cap": false, | ||
"confusion": false, | ||
"continue": true, | ||
"css": false, | ||
"debug": false, | ||
"devel": false, | ||
"eqeq": false, | ||
"es5": false, | ||
"evil": true, | ||
"forin": false, | ||
"fragment": false, | ||
"indent": 2, | ||
"maxerr": 300, | ||
"maxlen": 600, | ||
"newcap": false, | ||
"node": true, | ||
"nomen": true, | ||
"on": false, | ||
"passfail": false, | ||
"plusplus": false, | ||
"predef": [ | ||
"describe", "it", "after", "afterEach", "before", "beforeEach" | ||
], | ||
"regexp": true, | ||
"rhino": false, | ||
"safe": false, | ||
"sloppy": true, | ||
"stupid": true, | ||
"sub": false, | ||
"undef": false, | ||
"unparam": true, | ||
"vars": false, | ||
"white": false, | ||
"widget": false, | ||
"windows": false | ||
} |
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
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 💯