Skip to content

Commit

Permalink
Convert RelayReader-test.js to use new compiler
Browse files Browse the repository at this point in the history
Summary:
We're working on deprecating JS compiler.
One of the steps, is to remove it from our unit-tests.

This is the test from #3199

Steps:
1) Remove `generateAndCompile`
2) Wrap graphql documents with `graphql` tag + add unique prefix
3) Run new compiler: `scripts/compile-tests.sh`

Reviewed By: kassens

Differential Revision: D25890200

fbshipit-source-id: 8432593ab5ab2ea3675a3331ad5c3d52fce9ab6f
  • Loading branch information
alunyov authored and facebook-github-bot committed Jan 14, 2021
1 parent ff0ad17 commit c0f0f10
Show file tree
Hide file tree
Showing 60 changed files with 6,760 additions and 320 deletions.
572 changes: 253 additions & 319 deletions packages/relay-runtime/store/__tests__/RelayReader-test.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c0f0f10

Please sign in to comment.