@@ -288,7 +288,7 @@ describe('validateMutationStore', () => {
288288 storeType : 'PRODUCTION' ,
289289 }
290290
291- test ( 'allows queries on Dev Stores ' , ( ) => {
291+ test ( 'allows queries on dev stores ' , ( ) => {
292292 const query = 'query { shop { name } }'
293293
294294 expect ( ( ) => validateMutationStore ( query , devStore ) ) . not . toThrow ( )
@@ -300,7 +300,7 @@ describe('validateMutationStore', () => {
300300 expect ( ( ) => validateMutationStore ( query , nonDevStore ) ) . not . toThrow ( )
301301 } )
302302
303- test ( 'allows mutations on Dev Stores ' , ( ) => {
303+ test ( 'allows mutations on dev stores ' , ( ) => {
304304 const mutation = 'mutation { productUpdate(input: {}) { product { id } } }'
305305
306306 expect ( ( ) => validateMutationStore ( mutation , devStore ) ) . not . toThrow ( )
@@ -309,12 +309,12 @@ describe('validateMutationStore', () => {
309309 test ( 'throws when attempting mutation on non-dev store' , ( ) => {
310310 const mutation = 'mutation { productUpdate(input: {}) { product { id } } }'
311311
312- expect ( ( ) => validateMutationStore ( mutation , nonDevStore ) ) . toThrow ( 'Mutations can only be executed on Dev Stores ' )
312+ expect ( ( ) => validateMutationStore ( mutation , nonDevStore ) ) . toThrow ( 'Mutations can only be executed on dev stores ' )
313313 } )
314314
315315 test ( 'includes store domain in error message for non-dev store mutations' , ( ) => {
316316 const mutation = 'mutation { productUpdate(input: {}) { product { id } } }'
317317
318- expect ( ( ) => validateMutationStore ( mutation , nonDevStore ) ) . toThrow ( 'Dev Stores ' )
318+ expect ( ( ) => validateMutationStore ( mutation , nonDevStore ) ) . toThrow ( 'dev stores ' )
319319 } )
320320} )
0 commit comments