@@ -188,7 +188,7 @@ describe('findQueries with the groq template', () => {
188
188
expect ( queries . length ) . toBe ( 0 )
189
189
} )
190
190
191
- test ( 'will ignore declarations if any of the leading comments are ignore tags' , ( ) => {
191
+ test ( 'will ignore declerations if any of the leading comments are ignore tags' , ( ) => {
192
192
const source = `
193
193
import { groq } from "groq";
194
194
@@ -200,23 +200,6 @@ describe('findQueries with the groq template', () => {
200
200
const queries = findQueriesInSource ( source , __filename , undefined )
201
201
expect ( queries . length ) . toBe ( 0 )
202
202
} )
203
-
204
- test ( 'should remove unnecessary whitespace in queries' , ( ) => {
205
- const source = `
206
- import { groq } from "groq";
207
- const messyQuery = groq\`
208
-
209
- *[_type == "author"]
210
-
211
- \`
212
- const res = sanity.fetch(messyQuery);
213
- `
214
-
215
- const queries = findQueriesInSource ( source , 'test.ts' )
216
- const queryResult = queries [ 0 ]
217
-
218
- expect ( queryResult ?. result ) . toEqual ( '*[_type == "author"]' )
219
- } )
220
203
} )
221
204
222
205
describe ( 'findQueries with defineQuery' , ( ) => {
@@ -385,7 +368,7 @@ describe('findQueries with defineQuery', () => {
385
368
expect ( queries . length ) . toBe ( 0 )
386
369
} )
387
370
388
- test ( 'will ignore declarations if any of the leading comments are ignore tags' , ( ) => {
371
+ test ( 'will ignore declerations if any of the leading comments are ignore tags' , ( ) => {
389
372
const source = `
390
373
import {defineQuery} from "groq";
391
374
0 commit comments