From 7537209b16d298118d1f99bb0ddf730963b622fc Mon Sep 17 00:00:00 2001 From: Jens Oliver Meiert Date: Sat, 5 Oct 2024 19:12:33 +0200 Subject: [PATCH] test: simplify test descriptions Simplified test descriptions for image compression tests to improve readability and maintainability. This change avoids redundancy in test names by removing folder location specifics. (This commit message was AI-generated.) Signed-off-by: Jens Oliver Meiert --- bin/imagemin-guard.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/imagemin-guard.test.js b/bin/imagemin-guard.test.js index 29e4c82..6dae936 100644 --- a/bin/imagemin-guard.test.js +++ b/bin/imagemin-guard.test.js @@ -64,7 +64,7 @@ describe('Imagemin Guard', () => { fs.rmSync(testFolderGit, { recursive: true }) }) - test('Compress images from media/test folder (in temp location)', () => { + test('Compress images', () => { // Ensure images in temp folder are not already compressed expect(areImagesAlreadyCompressed(testFolderGit)).toBe(true) @@ -80,7 +80,7 @@ describe('Imagemin Guard', () => { expect(allCompressed).toBe(true) }) - test('Compress only staged images from media/test folder (in temp location)', async () => { + test('Compress only staged images', async () => { const git = simpleGit(testFolderGit) // Ensure the temp folder exists