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

sourceRoot option #18

Merged
merged 5 commits into from
May 4, 2015
Merged

sourceRoot option #18

merged 5 commits into from
May 4, 2015

Conversation

twada
Copy link
Member

@twada twada commented May 4, 2015

Introduce sourceRoot option.

  • options.sourceRoot is a root filepath for target test files.
  • It only works with options.path or options.sourceMap.
  • If set, filepath in power-assert output will be relative from options.sourceRoot.
  • When both options.sourceRoot and sourceMap's sourceRoot are given, options.sourceRoot has precedence over sourceMap's sourceRoot.

TODO

  • document
  • test
  • implement
  • refactor

@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) to 96.07% when pulling 0f55d16 on source-root into e322044 on master.

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.

2 participants