From 69225bc91b157fa5713bf837ec23e4f78553e3b0 Mon Sep 17 00:00:00 2001 From: gabek Date: Mon, 17 Apr 2023 22:34:29 +0000 Subject: [PATCH] Prettified Code! --- web/jest.config.js | 2 +- web/tests/streamkeys.test.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/web/jest.config.js b/web/jest.config.js index e33a11cd1..8ffa537be 100644 --- a/web/jest.config.js +++ b/web/jest.config.js @@ -1,5 +1,5 @@ module.exports = { - transform: { '^.+\\.(js|jsx|ts|tsx)$': ['babel-jest', { presets: ['next/babel'] }], }, + transform: { '^.+\\.(js|jsx|ts|tsx)$': ['babel-jest', { presets: ['next/babel'] }] }, testEnvironment: 'node', testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$', moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], diff --git a/web/tests/streamkeys.test.ts b/web/tests/streamkeys.test.ts index 43566f15f..44cb1452e 100644 --- a/web/tests/streamkeys.test.ts +++ b/web/tests/streamkeys.test.ts @@ -11,7 +11,6 @@ describe('generateRndKey', () => { expect(typeof result).toBe('string'); }); - test('should generate a key of length between 8 and 192 characters', () => { const key = generateRndKey(); expect(key.length).toBeGreaterThanOrEqual(8); @@ -23,4 +22,4 @@ describe('generateRndKey', () => { const key2 = generateRndKey(); expect(key1).not.toBe(key2); }); -}); \ No newline at end of file +});