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

New option for customizing testPaths #17

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

Conversation

banacorn
Copy link

@banacorn banacorn commented Jul 10, 2019

This commit adds a new option transformTestPaths: [FilePath] -> [FilePath] to createRunner,
which allows users to map the origin given paths ["./spec"] to whatever paths they want.

This is particularly useful when you need to put your test in places other than ./spec/

This commit adds a new option
`transformTestPaths: [FilePath] -> [FilePath]` to `createRunner`,
which allows users to map the origin given paths `["./spec"]` to
whatever paths they want.
@Alhadis
Copy link

Alhadis commented Jul 10, 2019

Just use this. I don't think this runner is maintained much anymore.

atom-mocha enables you to use an ordinary .mocharc.js file as a config, so you have full programmatic freedom over what and where test folders or files are loaded from:

https://github.com/Alhadis/Atom-Mocha/blob/master/docs/options.md#tests

@banacorn
Copy link
Author

Thanks!

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