mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
13310814da
* #2606 add prettier plugin sort imprts * #2606 update pnpm-lock.yaml * #2606 update eslint rules * #2606 fixes website directory formatting Co-authored-by: Ayush Sharma <ayush.sharma@trivago.com>
6 lines
214 B
TypeScript
6 lines
214 B
TypeScript
import { TOKEN_VALID_LENGTH, generateRandomSecretKey } from '../src/token';
|
|
|
|
test('token test valid length', () => {
|
|
const token = generateRandomSecretKey();
|
|
expect(token).toHaveLength(TOKEN_VALID_LENGTH);
|
|
});
|