Prettified Code!

This commit is contained in:
gabek 2023-04-17 22:34:29 +00:00 committed by GitHub Action
parent 1a63880d01
commit 69225bc91b
2 changed files with 2 additions and 3 deletions

View File

@ -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'],

View File

@ -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);
});
});
});