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

Fix test assertions for validation test when using custom TypeInfo #395

Merged
merged 1 commit into from
Jul 6, 2016

Conversation

sogko
Copy link
Contributor

@sogko sogko commented Jun 1, 2016

Notes:

  • npm run check complained that the error messages were too long; broke each error into 2 lines.

PS: Can someone with travis access re-run the build? It failed for only one of the environment nodejs 4, seems like flow didn't get installed properly (ENOENT error)

- Test should had broke for changes in graphql#355 which improved
  validation messages with suggestions.
- But `expect().to.deep.equal()` checks for the right number of errors
  but does not check for equality of error messages.
@coveralls
Copy link

coveralls commented Jun 1, 2016

Coverage Status

Coverage increased (+0.0002%) to 98.287% when pulling bb128fe on sogko:fix-validation-test into 359ec76 on graphql:master.

@leebyron leebyron merged commit e9fa66d into graphql:master Jul 6, 2016
@leebyron
Copy link
Contributor

leebyron commented Jul 6, 2016

Thanks for your help and careful reading!

sogko added a commit to sogko/graphql-js that referenced this pull request Jan 27, 2017
Merge commit '826cba3b76e87dbd25a01db5150f89624adaab32' into sogko/master

* commit '826cba3b76e87dbd25a01db5150f89624adaab32':
  0.6.1
  Fix tests for node v0.10, widen test matrix
  Fix test assertions for validation test when using custom TypeInfo (graphql#395)
  Removes depencency on babel-runtime.
  Upgrade to Flow v0.28.
  More specific return types from methods in Schema
  Only type Scalar config rather than Scalar type, improve schema builder types
  Introduce formal definition of "Thunk" to aid in fixing more issues uncovered by Flow v0.28
  Additional flow issues corrected in anticipation of Flow v0.28
  Fix some flow issues in anticipation of Flow v0.28
  export type InputObjectConfigFieldMapThunk (graphql#411)
  Variable naming follow-up to path generation
  Errors thrown from resolvers have the execution path (graphql#396)
  Update all dependencies, include flow-specific lint handling
  Revert "Update babel-cli and flow-bin package references" (graphql#403)
  move babel config to the babelrc (graphql#399)
  Update babel-cli and flow-bin package references (graphql#388)
  Fix typo (graphql#387)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants