Skip to content
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 test to confirm we only removed unneeded imports. #3

Closed
rwjblue opened this issue Aug 26, 2015 · 0 comments
Closed

Add test to confirm we only removed unneeded imports. #3

rwjblue opened this issue Aug 26, 2015 · 0 comments

Comments

@rwjblue
Copy link
Member

rwjblue commented Aug 26, 2015

Given:

import { foo, bar, baz } from 'lol';

foo();
bar();
baz();

Assuming that the test setup instructs the plugin to remove foo and baz from lol module.

The output should be:

import { bar } from 'lol';

bar();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant