We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
const query = require('fs').readFileSync(`${__dirname}/MyQuery.graphql`, 'utf8'); describe('some test' () => { it('should do something', async () => { return request .post('/graphql') .send({ query, variables }) .expect(res => expect(res.body).toMatchSnapshot()) .expect(206); }); }); // Some // comments
I was able to confirm that the following works:
const query = require('fs').readFileSync(__dirname + '/MyQuery.graphql', 'utf8');
So the issue is with graphql + backtick.
graphql
The text was updated successfully, but these errors were encountered:
This seems to be the culprit, but I don't understand the capture annotation (yet):
graphql-for-vscode/syntaxes/graphql.js.json
Lines 38 to 47 in 1cdee66
Sorry, something went wrong.
No branches or pull requests
I was able to confirm that the following works:
So the issue is with
graphql
+ backtick.The text was updated successfully, but these errors were encountered: