File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -453,42 +453,6 @@ describe('Model cache', () => {
453453 expect ( getCacheSize ( ) ) . toBe ( 0 )
454454 } )
455455 } )
456-
457- describe ( 'Help pages' , ( ) => {
458- test ( 'Contextual help page returns 200' , async ( ) => {
459- jest . mocked ( getFormMetadata ) . mockResolvedValue ( {
460- ...fixtures . form . metadata ,
461- draft : fixtures . form . state ,
462- live : fixtures . form . state
463- } )
464-
465- const options = {
466- method : 'GET' ,
467- url : '/help/get-support/slug'
468- }
469-
470- const res = await server . inject ( options )
471-
472- expect ( res . statusCode ) . toBe ( StatusCodes . OK )
473- } )
474-
475- test ( 'Privacy notice page returns 200' , async ( ) => {
476- jest . mocked ( getFormMetadata ) . mockResolvedValue ( {
477- ...fixtures . form . metadata ,
478- draft : fixtures . form . state ,
479- live : fixtures . form . state
480- } )
481-
482- const options = {
483- method : 'GET' ,
484- url : '/help/privacy/slug'
485- }
486-
487- const res = await server . inject ( options )
488-
489- expect ( res . statusCode ) . toBe ( StatusCodes . OK )
490- } )
491- } )
492456} )
493457
494458describe ( 'Upload status route' , ( ) => {
You can’t perform that action at this time.
0 commit comments