From b9a95d6fcb126d4f64d4b4a6022b5b8c1b6c4fbe Mon Sep 17 00:00:00 2001 From: Xavier FACQ Date: Thu, 21 Sep 2023 14:23:39 +0200 Subject: [PATCH] Fix linter issue --- src/__tests__/utils.test.js | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/src/__tests__/utils.test.js b/src/__tests__/utils.test.js index e85803d..96c8711 100644 --- a/src/__tests__/utils.test.js +++ b/src/__tests__/utils.test.js @@ -1,19 +1,17 @@ import { describe, test, expect } from 'vitest' import { stringify } from '../utils' - describe('Utils', () => { - describe('stringify', () => { - test('Verify if stringify() works well', () => { - - expect(stringify({})).toBe('') + describe('stringify', () => { + test('Verify if stringify() works well', () => { + expect(stringify({})).toBe('') - const obj1 = { - id: 123456789, - name: 'mock_name', - description: 'mock_description' - }; - expect(stringify(obj1)).toBe('?id=123456789&name=mock_name&description=mock_description') - }); - }); -}); + const obj1 = { + id: 123456789, + name: 'mock_name', + description: 'mock_description' + } + expect(stringify(obj1)).toBe('?id=123456789&name=mock_name&description=mock_description') + }) + }) +})