From 2bfc2589bbe8b9ce6d6168ce17d4ab82e2c4d079 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 00ce8198a..b1faf49d0 100644 --- a/packages/elements-core/src/components/TryIt/TryIt.spec.tsx +++ b/packages/elements-core/src/components/TryIt/TryIt.spec.tsx @@ -726,7 +726,7 @@ describe('TryIt', () => { }); describe('No Request body', () => { - it('with GET method', async () => { + it('Adds no Content-type header with GET method', async () => { render(); clickSend(); @@ -738,7 +738,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(); @@ -750,7 +750,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(); @@ -762,7 +762,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();