-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
Jest test updates #75
Conversation
"devDependencies": { | ||
"babel-core": "^6.4.5", | ||
"babel-cli": "^6.4.0", |
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.
Is this used. I guess babel-cli
can be removed !
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.
Yeah I guess not since we are using gulp babel
@kangax should be simple |
@@ -68,4 +68,25 @@ describe("remove-console-plugin", () => { | |||
`); | |||
expect(transform(source).trim()).toBe(expected); | |||
}); | |||
|
|||
it("statement no block", () => { |
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.
Is this a new test?
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.
yes it's from a pr to babel (since I moved the plugin to this repo) babel/babel#3583
Ref babel/babel#3621
We can also also use https://github.com/lodash/babel-plugin-lodash since we are importing lodash for
some
in the dead code elim package @amasad