Skip to content

Commit

Permalink
fix: comment out experiments from configuration files (#1505)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpicado committed Oct 2, 2019
1 parent 214f464 commit 3438b75
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
7 changes: 3 additions & 4 deletions conf/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ middlewares:
logs:
- { type: stdout, format: pretty, level: http }
#- {type: file, path: verdaccio.log, level: info}

experiments:
# support for npm token command
token: false
#experiments:
# # support for npm token command
# token: false
7 changes: 3 additions & 4 deletions conf/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ middlewares:
logs:
- { type: stdout, format: pretty, level: http }
#- {type: file, path: verdaccio.log, level: info}

experiments:
# support for npm token command
token: false
#experiments:
# # support for npm token command
# token: false
7 changes: 7 additions & 0 deletions test/unit/modules/config/config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ const checkDefaultConfPackages = (config) => {
expect(config.publish).toBeUndefined();
expect(config.url_prefix).toBeUndefined();
expect(config.url_prefix).toBeUndefined();

expect(config.experiments).toBeUndefined();
expect(config.jwt).toBeUndefined();
};

describe('Config file', () => {
Expand Down Expand Up @@ -90,5 +93,9 @@ describe('Config file', () => {
});
});

describe('Config file', () => {

});

});

0 comments on commit 3438b75

Please sign in to comment.