@@ -726,7 +726,7 @@ describe('TryIt', () => {
726
726
} ) ;
727
727
728
728
describe ( 'No Request body' , ( ) => {
729
- it ( 'with GET method' , async ( ) => {
729
+ it ( 'Adds no Content-type header with GET method' , async ( ) => {
730
730
render ( < TryItWithPersistence httpOperation = { basicOperation } /> ) ;
731
731
732
732
clickSend ( ) ;
@@ -738,7 +738,7 @@ describe('TryIt', () => {
738
738
expect ( headers . get ( 'Content-Type' ) ) . toBe ( null ) ;
739
739
} ) ;
740
740
741
- it ( 'with POST method' , async ( ) => {
741
+ it ( 'Adds no Content-type header with POST method' , async ( ) => {
742
742
render ( < TryItWithPersistence httpOperation = { { ...basicOperation , request : undefined , method : 'POST' } } /> ) ;
743
743
744
744
clickSend ( ) ;
@@ -750,7 +750,7 @@ describe('TryIt', () => {
750
750
expect ( headers . get ( 'Content-Type' ) ) . toBe ( null ) ;
751
751
} ) ;
752
752
753
- it ( 'with PATCH method' , async ( ) => {
753
+ it ( 'Adds no Content-type header with PATCH method' , async ( ) => {
754
754
render ( < TryItWithPersistence httpOperation = { { ...basicOperation , request : undefined , method : 'PATCH' } } /> ) ;
755
755
756
756
clickSend ( ) ;
@@ -762,7 +762,7 @@ describe('TryIt', () => {
762
762
expect ( headers . get ( 'Content-Type' ) ) . toBe ( null ) ;
763
763
} ) ;
764
764
765
- it ( 'with PUT method' , async ( ) => {
765
+ it ( 'Adds no Content-type header with PUT method' , async ( ) => {
766
766
render ( < TryItWithPersistence httpOperation = { { ...basicOperation , request : undefined , method : 'PUT' } } /> ) ;
767
767
768
768
clickSend ( ) ;
0 commit comments