Skip to content

Commit 97e3e71

Browse files
committed
update test descriptions
Signed-off-by: Nik Nasr <[email protected]>
1 parent ebe1252 commit 97e3e71

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/elements-core/src/components/TryIt/TryIt.spec.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ describe('TryIt', () => {
726726
});
727727

728728
describe('No Request body', () => {
729-
it('with GET method', async () => {
729+
it('Adds no Content-type header with GET method', async () => {
730730
render(<TryItWithPersistence httpOperation={basicOperation} />);
731731

732732
clickSend();
@@ -738,7 +738,7 @@ describe('TryIt', () => {
738738
expect(headers.get('Content-Type')).toBe(null);
739739
});
740740

741-
it('with POST method', async () => {
741+
it('Adds no Content-type header with POST method', async () => {
742742
render(<TryItWithPersistence httpOperation={{ ...basicOperation, request: undefined, method: 'POST' }} />);
743743

744744
clickSend();
@@ -750,7 +750,7 @@ describe('TryIt', () => {
750750
expect(headers.get('Content-Type')).toBe(null);
751751
});
752752

753-
it('with PATCH method', async () => {
753+
it('Adds no Content-type header with PATCH method', async () => {
754754
render(<TryItWithPersistence httpOperation={{ ...basicOperation, request: undefined, method: 'PATCH' }} />);
755755

756756
clickSend();
@@ -762,7 +762,7 @@ describe('TryIt', () => {
762762
expect(headers.get('Content-Type')).toBe(null);
763763
});
764764

765-
it('with PUT method', async () => {
765+
it('Adds no Content-type header with PUT method', async () => {
766766
render(<TryItWithPersistence httpOperation={{ ...basicOperation, request: undefined, method: 'PUT' }} />);
767767

768768
clickSend();

0 commit comments

Comments
 (0)