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 #391 #404

Merged
merged 3 commits into from Jan 7, 2020
Merged

Fix #391 #404

merged 3 commits into from Jan 7, 2020

Conversation

jwoudenberg
Copy link
Collaborator

Paired with @rtfeldman

@@ -103,6 +103,8 @@ function findTests(
return new Promise(function(resolve, reject) {
function finish() {
const args = elmVersion ? ['--elm-version=' + elmVersion] : [];
// TODO: Have elmi-to-json only read test file paths, not all paths.
// args = args.concat(testFilePaths);
Copy link
Owner

Choose a reason for hiding this comment

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

More context on this: it would be more efficient to have elmi-to-json only read the .elmi files that will be used.

However, we couldn't determine how to do that, and didn't want to block the fix on that. Instead, we're filtering them out after the fact below.

@rtfeldman rtfeldman merged commit 37e8ffd into rtfeldman:master Jan 7, 2020
@terezka
Copy link

terezka commented Jan 8, 2020

I wonder if we should add a test to prevent another regression? Don't have context enough to know if that makes sense, so let me know!

@jwoudenberg
Copy link
Collaborator Author

I think it does make sense, and we sort-of did a thing like that, in that we modified an existing test to reproduce this problem. The relevant line that enabled this was this:

https://github.com/rtfeldman/node-test-runner/pull/404/files#diff-669efeda79bb547b3537ab544fd28f75R149

@terezka
Copy link

terezka commented Jan 8, 2020

Oh, didn't realize that was what that was! Great!

@zwilias
Copy link
Collaborator

zwilias commented Jan 10, 2020

<3

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

4 participants