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 bunch of tests for various plugins #1581

Merged
merged 8 commits into from
Jul 26, 2017
Merged

Conversation

DSchau
Copy link
Contributor

@DSchau DSchau commented Jul 20, 2017

Added a bunch of tests to serve as a baseline for expected functionality.

Let me know if you'd like any further detail!

@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit c03932e

https://deploy-preview-1581--gatsbyjs.netlify.com

@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit c03932e

https://deploy-preview-1581--using-drupal.netlify.com

@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit c03932e

https://deploy-preview-1581--gatsbygram.netlify.com

@gatsbybot
Copy link
Collaborator

gatsbybot commented Jul 20, 2017

Deploy preview ready!

Built with commit e81cd72

https://deploy-preview-1581--gatsbyjs.netlify.com

@gatsbybot
Copy link
Collaborator

gatsbybot commented Jul 20, 2017

Deploy preview ready!

Built with commit e81cd72

https://deploy-preview-1581--using-drupal.netlify.com

@gatsbybot
Copy link
Collaborator

gatsbybot commented Jul 20, 2017

Deploy preview ready!

Built with commit e81cd72

https://deploy-preview-1581--gatsbygram.netlify.com

@KyleAMathews
Copy link
Contributor

KyleAMathews commented Jul 20, 2017

Deploy preview failed.

Built with commit ad15acc

https://app.netlify.com/sites/using-contentful/deploys/597790897960b1659463eead

@KyleAMathews
Copy link
Contributor

This is so cool! A tests PR, amazing :-)

Sorry for the slow response — does not reflect my appreciation of this PR :-) Been out on vacation.

Going to merge from master to re-run tests. Looks like tests failed on Windows?

@DSchau
Copy link
Contributor Author

DSchau commented Jul 25, 2017

@KyleAMathews hope the vacay was great, much deserved!

As for this PR, I haven't taken a look at it since I pushed it up, but I'll see if I can take another look tonight! As far as Windows support goes, I wouldn't think there'd be any regressions with Mac v. Windows, so hopefully that's not the case!

@KyleAMathews
Copy link
Contributor

Deploy preview failed.

Built with commit ad15acc

https://app.netlify.com/sites/image-processing/deploys/597790897960b1659463eea4

@KyleAMathews
Copy link
Contributor

Deploy preview failed.

Built with commit ad15acc

https://app.netlify.com/sites/using-glamor/deploys/597790897960b1659463eea7

@KyleAMathews
Copy link
Contributor

@KyleAMathews
Copy link
Contributor

Yeah seems like there's a few problems with windows https://ci.appveyor.com/project/KyleAMathews/gatsby/build/1.0.1400/job/s5r1kblirawji3uh#L526

4 failing tests in copy-linked-files.

@DSchau
Copy link
Contributor Author

DSchau commented Jul 25, 2017

Yikes! Well I'll take a look and see if I can't get that figured out

@DSchau
Copy link
Contributor Author

DSchau commented Jul 25, 2017

Pretty sure the issue is with this line here, which is causing this check to fail on Windows. I think path.normalize would work here, as would mocking out path.join to resolve any OS idiosyncrasies.

Not sure which is better. Gonna try path.normalize first.

@DSchau
Copy link
Contributor Author

DSchau commented Jul 26, 2017

Whew, that did fix it!

Should be good to go now

@KyleAMathews KyleAMathews merged commit 8667ccb into gatsbyjs:master Jul 26, 2017
@KyleAMathews
Copy link
Contributor

Awesome! Thanks!

This was referenced Mar 16, 2018
mwfrost pushed a commit to mwfrost/gatsby that referenced this pull request Apr 20, 2023
* test: add test scaffolding for plugins

* test: add a simple test for navigateTo

* test: add a bunch of tests

* style: run prettier on tests

* test: fix broken absolute url

* test: fix equality check

* test: (hopefully) fix issue with windows
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.

3 participants