Prettified Code!
This commit is contained in:
parent
1a63880d01
commit
69225bc91b
@ -1,5 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
transform: { '^.+\\.(js|jsx|ts|tsx)$': ['babel-jest', { presets: ['next/babel'] }], },
|
transform: { '^.+\\.(js|jsx|ts|tsx)$': ['babel-jest', { presets: ['next/babel'] }] },
|
||||||
testEnvironment: 'node',
|
testEnvironment: 'node',
|
||||||
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
|
testRegex: '/tests/.*\\.(test|spec)?\\.(ts|tsx)$',
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
||||||
|
@ -11,7 +11,6 @@ describe('generateRndKey', () => {
|
|||||||
expect(typeof result).toBe('string');
|
expect(typeof result).toBe('string');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
test('should generate a key of length between 8 and 192 characters', () => {
|
test('should generate a key of length between 8 and 192 characters', () => {
|
||||||
const key = generateRndKey();
|
const key = generateRndKey();
|
||||||
expect(key.length).toBeGreaterThanOrEqual(8);
|
expect(key.length).toBeGreaterThanOrEqual(8);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user