Prettified Code!
This commit is contained in:
parent
1a63880d01
commit
69225bc91b
@ -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'],
|
||||
|
@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user