From ddc605101d825c3d3b991a9a812e4062f4b872f6 Mon Sep 17 00:00:00 2001 From: Nik Nasr Date: Fri, 22 Nov 2024 14:16:39 +0000 Subject: [PATCH] update test descriptions Signed-off-by: Nik Nasr --- .../elements-core/src/components/TryIt/TryIt.spec.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/elements-core/src/components/TryIt/TryIt.spec.tsx b/packages/elements-core/src/components/TryIt/TryIt.spec.tsx index 55abd4ce2..2c49b80c5 100644 --- a/packages/elements-core/src/components/TryIt/TryIt.spec.tsx +++ b/packages/elements-core/src/components/TryIt/TryIt.spec.tsx @@ -681,7 +681,7 @@ describe('TryIt', () => { }); describe('No Request body', () => { - it('with GET method', async () => { + it('Adds no Content-type header with GET method', async () => { render(); clickSend(); @@ -693,7 +693,7 @@ describe('TryIt', () => { expect(headers.get('Content-Type')).toBe(null); }); - it('with POST method', async () => { + it('Adds no Content-type header with POST method', async () => { render(); clickSend(); @@ -705,7 +705,7 @@ describe('TryIt', () => { expect(headers.get('Content-Type')).toBe(null); }); - it('with PATCH method', async () => { + it('Adds no Content-type header with PATCH method', async () => { render(); clickSend(); @@ -717,7 +717,7 @@ describe('TryIt', () => { expect(headers.get('Content-Type')).toBe(null); }); - it('with PUT method', async () => { + it('Adds no Content-type header with PUT method', async () => { render(); clickSend();