0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

chore: add extra timeout for some heavy test

This commit is contained in:
Juan Picado @jotadeveloper 2019-07-27 07:20:30 +02:00
parent 7aef6d8a59
commit 85a1fbe96e
No known key found for this signature in database
GPG key ID: 15AA875EF3768142
3 changed files with 12 additions and 9 deletions

View file

@ -3,7 +3,7 @@
"files": null,
"lines": null
},
"generated_at": "2019-07-27T05:16:42Z",
"generated_at": "2019-07-27T05:17:42Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
@ -282,22 +282,22 @@
"test/unit/modules/auth/auth-utils.spec.ts": [
{
"hashed_secret": "f35dd4c51c0a89bd055b5ad30c162c778981306d",
"line_number": 30,
"line_number": 32,
"type": "Secret Keyword"
},
{
"hashed_secret": "cbfe12c3dd5ecd14ad3f4ce85deb0ca2ee11b0c1",
"line_number": 33,
"line_number": 35,
"type": "Secret Keyword"
},
{
"hashed_secret": "8cb2237d0679ca88db6464eac60da96345513964",
"line_number": 43,
"line_number": 45,
"type": "Secret Keyword"
},
{
"hashed_secret": "e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4",
"line_number": 233,
"line_number": 235,
"type": "Secret Keyword"
}
],
@ -316,22 +316,22 @@
"test/unit/modules/auth/profile.spec.ts": [
{
"hashed_secret": "364bdf2ed77a8544d3b711a03b69eeadcc63c9d7",
"line_number": 50,
"line_number": 51,
"type": "Secret Keyword"
},
{
"hashed_secret": "dfb2f12ac9b2dd601f34da1b31b24228ce60577c",
"line_number": 61,
"line_number": 62,
"type": "Secret Keyword"
},
{
"hashed_secret": "ada3d2a3b5dafb531df9be3cf35cedf18ed79512",
"line_number": 77,
"line_number": 78,
"type": "Secret Keyword"
},
{
"hashed_secret": "195a8aef5c5b2397fdbf5fb429a517b089745309",
"line_number": 95,
"line_number": 96,
"type": "Secret Keyword"
}
],

View file

@ -23,6 +23,8 @@ import {Config, Security, RemoteUser} from '@verdaccio/types';
setup([]);
describe('Auth utilities', () => {
jest.setTimeout(20000);
const parseConfigurationSecurityFile = (name) => {
return parseConfigurationFile(`security/${name}`);
};

View file

@ -20,6 +20,7 @@ const parseConfigurationProfile = () => {
describe('endpoint user profile', () => {
let app;
let mockRegistry;
jest.setTimeout(20000);
beforeAll(function(done) {
const store = path.join(__dirname, '../../partials/store/test-profile-storage');