Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Correct run.html path #746

Merged
merged 2 commits into from
Nov 15, 2017
Merged

Correct run.html path #746

merged 2 commits into from
Nov 15, 2017

Conversation

tomdye
Copy link
Member

@tomdye tomdye commented Nov 6, 2017

Fixes the incorrect file path in run.html

tests/run.html Outdated
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Intern suite</title>
<meta http-equiv="refresh" content="0;url=../node_modules/intern/client.html?config=_build/tests/intern">
<meta http-equiv="refresh" content="0;url=../../node_modules/intern/index.html">
Copy link
Member

Choose a reason for hiding this comment

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

do you need the extra ..?

Copy link
Member Author

Choose a reason for hiding this comment

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

I guess it depends where you serve from. I ran my http server from the project root and this works correctly.

Copy link
Member Author

Choose a reason for hiding this comment

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

it's got to step out of _build/tests to get to the node_modules folder, so yes, double ../.. required.

Copy link
Member

Choose a reason for hiding this comment

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

Are you running from the _build directory, because I think now you can just run from the tests directory

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks, that works

Copy link
Member

@kitsonk kitsonk left a comment

Choose a reason for hiding this comment

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

We should consider updating the intern as well if we are going to change this, or it will only work in certain situations... ~4.1.0 or ^4.0.3

@tomdye tomdye merged commit caa9008 into dojo:master Nov 15, 2017
@dylans dylans added this to the beta.4 milestone Dec 22, 2017
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.

4 participants