mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
Add URL for viewing node coverage data on dev server.
Running test-js-with-node --coverage now provides a URL to view the output data on the web. Fixes #5177.
This commit is contained in:
@@ -19,6 +19,10 @@ urls = [
|
||||
serve, {'document_root':
|
||||
os.path.join(settings.DEPLOY_ROOT, 'var/coverage'),
|
||||
'show_indexes': True}),
|
||||
url(r'^node-coverage/(?P<path>.*)$',
|
||||
serve, {'document_root':
|
||||
os.path.join(settings.DEPLOY_ROOT, 'var/node-coverage/lcov-report'),
|
||||
'show_indexes': True}),
|
||||
url(r'^docs/(?P<path>.*)$',
|
||||
serve, {'document_root':
|
||||
os.path.join(settings.DEPLOY_ROOT, 'docs/_build/html')}),
|
||||
|
||||
Reference in New Issue
Block a user