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

Fix import-only files for Node importers #919

Merged
merged 2 commits into from Jan 3, 2020
Merged

Conversation

jathak
Copy link
Member

@jathak jathak commented Jan 3, 2020

No description provided.

@jathak jathak requested a review from nex3 January 3, 2020 22:35
Copy link
Contributor

@nex3 nex3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel silly for not adding these tests in the first place!

importer: allowInterop((void _, void __) =>
NodeImporterResult(file: p.join(sandbox, 'target.scss'))))),
equalsIgnoringWhitespace('a { b: regular; } a { b: import-only; }'));
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd also add a test to the top-level node_api_test that the default import logic supports both of these cases.

@jathak jathak merged commit bfdf4b3 into master Jan 3, 2020
@jathak jathak deleted the node-importer-fix branch January 3, 2020 23:41
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

Successfully merging this pull request may close these issues.

None yet

2 participants