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

Add a test case for #259 #260

Merged
merged 1 commit into from
Apr 27, 2016
Merged

Conversation

benstepp
Copy link
Contributor

This currently fails. The change in #259 will make it pass. Currently
the image comes out at the wrong path (/hello-worldimage.jpg)

ava doesnt have test.failing() yet, and our eslint config prevents the
usage of test.todo() so this will most defininitely blow up travis.

@KyleAMathews
Copy link
Contributor

Nice! Rerunning tests to ensure they pass.

@KyleAMathews
Copy link
Contributor

Lint failed

This currently fails. The change in gatsbyjs#259 will make it pass. Currently
the image comes out at the wrong path (/hello-worldimage.jpg)

ava doesnt have test.failing() yet, and our eslint config prevents the
usage of test.todo() so this will most defininitely blow up travis.
@benstepp
Copy link
Contributor Author

Rebased over master and force pushed for a new build on travis

I guess I last minute fixuped too hard last night trying to remove noise from test fixtures. It would be nice if gatsby included a default _template, a default config, and a default html file if one isn't found.

@KyleAMathews
Copy link
Contributor

Agree re: defaults. I already did that with gatsby-browser.js in /lib/isomorphic. Perhaps add the bare minimum for the others as well there?

That should work given https://github.com/gatsbyjs/gatsby/blob/master/lib/utils/webpack.config.js#L127

@KyleAMathews
Copy link
Contributor

Tests passed except for Node 6 + Mac OSX as currently node-sass won't install there. I'll merge then remove Node 6 from tests for now.

@KyleAMathews KyleAMathews merged commit 5079385 into gatsbyjs:master Apr 27, 2016
@benstepp benstepp deleted the bs-pathrewrite branch April 28, 2016 03:06
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