Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Conversation

@rowanbeentje
Copy link

The buster.js configuration supports a rootPath, which specifies the root directory in which source files live. If this is specified, buster resolves all paths against this root.

buster-coverage currently doesn't support this rootPath option, so that coverage tests have to specify files using different paths, or based on where the buster command is being originally run from.

These commits by @gugu and @rowanbeentje add support for the rootPath option.

@ebi
Copy link
Owner

ebi commented May 15, 2013

This seems to fail if no rootPath was set?

Fall back to the old behaviour including process.cwd() usage
@rowanbeentje
Copy link
Author

You're quite right – it would potentially also change the behaviour with a default blank rootPath, as the old method used process.cwd().

I believe I've fixed that in 91bb250 - sorry about that.

@mattcg
Copy link

mattcg commented May 21, 2013

+1

Please merge and release this :)

@ebi
Copy link
Owner

ebi commented May 22, 2013

Sorry my time for this is very limited at the moment. I promised to merge and release it until next sunday :)

@mattcg
Copy link

mattcg commented Jun 20, 2013

Have you had a chance to test this @ebi?

@guidokessels
Copy link

We just ran into the same issue and fixed it locally. Would be nice if this was merged!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants