From 08e170bc17c661dd7dad0e180d5dac850ebcf6c8 Mon Sep 17 00:00:00 2001 From: alexm Date: Thu, 18 Jul 2024 08:31:23 +0200 Subject: [PATCH] unnecessary test --- .../pages/Customer/CustomerPayments.spec.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test/vitest/__tests__/pages/Customer/CustomerPayments.spec.js b/test/vitest/__tests__/pages/Customer/CustomerPayments.spec.js index 13293f596..466a544b4 100644 --- a/test/vitest/__tests__/pages/Customer/CustomerPayments.spec.js +++ b/test/vitest/__tests__/pages/Customer/CustomerPayments.spec.js @@ -35,18 +35,4 @@ describe('CustomerPayments', () => { ); }); }); - - describe('stateColor()', () => { - it('should return "positive" when isConfirmed property is truthy', async () => { - const result = await vm.stateColor({ isConfirmed: true }); - - expect(result).toEqual('positive'); - }); - - it('should return "primary" when isConfirmed property is falsy', async () => { - const result = await vm.stateColor({ isConfirmed: false }); - - expect(result).toEqual('primary'); - }); - }); });