-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ES2015 support to CLI #23
Closed
Closed
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
b326542
add ES2015 support, fix #20
andrepolischuk 253d32a
add test for ES2015
andrepolischuk e8dbe53
add loading local babel if it exists
andrepolischuk 591962e
remove test
andrepolischuk dccdfbc
update docs with ES2015 support
andrepolischuk ba0884c
fix docs
andrepolischuk 98baf61
fix docs conflict
andrepolischuk 459a518
fix merge conflict
andrepolischuk 3ccca95
use babel-core instead of babel
andrepolischuk 036e5df
minor tweak
andrepolischuk 06eef13
update docs
andrepolischuk c241247
fix merge conflict
andrepolischuk 1903489
fix babel-core require
andrepolischuk 4f1d30a
fix merge conflict
andrepolischuk 86b597d
add local babel-core option
andrepolischuk 1dd0954
add test for ES2015
andrepolischuk 7933d68
fix test
andrepolischuk a5f90c5
fix test
andrepolischuk 69e89bf
fix test
andrepolischuk e2ee116
update docs
andrepolischuk 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
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,12 @@ | ||
import test from 'tape'; | ||
import ava from '../lib/test'; | ||
|
||
test('run test', t => { | ||
ava('foo', a => { | ||
a.true(false); | ||
a.end(); | ||
}).run(err => { | ||
t.true(err); | ||
t.end(); | ||
}); | ||
}); |
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
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.
cwd: path.resolve(__dirname, '..')