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: add file field for exports interface #5147

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shadowusr
Copy link

@shadowusr shadowusr commented May 22, 2024

PR Checklist

Overview

This PR adds file field to suites in Exports interface, so that it matches other interfaces such as BDD.

Copy link

linux-foundation-easycla bot commented May 22, 2024

CLA Signed


The committers listed above are authorized under a signed CLA.

@shadowusr
Copy link
Author

Would appreciate a ton if you could take a look at this tiny PR when you have time, @JoshuaKGoldberg!

@JoshuaKGoldberg
Copy link
Member

Not yet 😉 I edited it just now.

@coveralls
Copy link

Coverage Status

coverage: 94.359% (+0.001%) from 94.358%
when pulling 0012cb7 on shadowusr:fix.add-file-field-for-exports-ui
into 99601da on mochajs:master.

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Source changes are 💯. Just requesting changes on a test. Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

[Testing] The change looks good to me, but it'd be good to have test coverage. Could you please add one to exports.spec.js?

Even just a straightforward expect(this.test.file, 'to match', ...) would be fine enough IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for author waiting on response from OP - more information needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Bug: when using exports interface for tests, there's no file on suites objects
3 participants