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

fix: comment out experiments from configuration files (#1505)

This commit is contained in:
Juan Picado @jotadeveloper 2019-10-02 20:56:50 +02:00 committed by GitHub
parent 214f4645f8
commit 3438b7596a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 8 deletions

View file

@ -68,7 +68,6 @@ middlewares:
logs: logs:
- { type: stdout, format: pretty, level: http } - { type: stdout, format: pretty, level: http }
#- {type: file, path: verdaccio.log, level: info} #- {type: file, path: verdaccio.log, level: info}
#experiments:
experiments: # # support for npm token command
# support for npm token command # token: false
token: false

View file

@ -68,7 +68,6 @@ middlewares:
logs: logs:
- { type: stdout, format: pretty, level: http } - { type: stdout, format: pretty, level: http }
#- {type: file, path: verdaccio.log, level: info} #- {type: file, path: verdaccio.log, level: info}
#experiments:
experiments: # # support for npm token command
# support for npm token command # token: false
token: false

View file

@ -62,6 +62,9 @@ const checkDefaultConfPackages = (config) => {
expect(config.publish).toBeUndefined(); expect(config.publish).toBeUndefined();
expect(config.url_prefix).toBeUndefined(); expect(config.url_prefix).toBeUndefined();
expect(config.url_prefix).toBeUndefined(); expect(config.url_prefix).toBeUndefined();
expect(config.experiments).toBeUndefined();
expect(config.jwt).toBeUndefined();
}; };
describe('Config file', () => { describe('Config file', () => {
@ -90,5 +93,9 @@ describe('Config file', () => {
}); });
}); });
describe('Config file', () => {
});
}); });