chore: add broken parsing test (#96) #30
ci.yml
on: push
Checking build and tests
16s
Annotations
2 errors
src/compile.test.ts > comments starting:
src/compile.test.ts#L211
AssertionError: expected 'import brol from \'x/y\';\n\n// see S…' to deeply equal 'import brol from \'x/y\';\nimport gra…'
- Expected
+ Received
import brol from 'x/y';
- import graphql__f4ce3be5b8e81a99157cd3e378f936b6 from "./__generated__/Test.graphql";
- // This shouldn't be an issue
- const spaceSelectQuery = graphql__f4ce3be5b8e81a99157cd3e378f936b6;
+ // see SpaceSelect
+ const spaceSelectQuery = graphql`
+ query Test {
+ # This should be compiled
+ __typename
+ }
+ `
❯ src/compile.test.ts:211:23
|
Checking build and tests
Process completed with exit code 1.
|