0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/test/unit/partials/config/yaml
Juan Picado 15bb350ae4
feat: improve url_prefix behavior (#2122)
read pr 2122 for more details
2021-03-29 12:32:37 +02:00
..
api-jwt Merge branch '4.x' of github.com:verdaccio/verdaccio into 4.x 2018-08-21 08:08:48 +02:00
api.spec feat: endpoints change password on ui (#1068) 2018-11-18 18:41:05 +01:00
notify test: Increase coverage for unit test (#974) 2018-09-22 12:54:21 +02:00
profile feat: add support for profile cli command #392 (change password) (#1034) 2018-10-12 11:07:55 +02:00
security Merge branch '4.x' of github.com:verdaccio/verdaccio into 4.x 2018-08-21 08:08:48 +02:00
server Merge remote-tracking branch 'origin/master' into 4.1.x 2019-06-20 15:10:26 +02:00
api.spec.yaml feat: improve url_prefix behavior (#2122) 2021-03-29 12:32:37 +02:00
api.web.spec.yaml feat!: drop node 8 and node 10 (#2142) 2021-03-28 10:40:52 +02:00
default.yaml chore: fix unpublish issues, fix unit test 2019-02-24 23:20:25 +01:00
deprecated-pkgs-basic.yaml
pkg.access.spec.yaml feat: npm token command support (#1427) 2019-09-07 15:46:50 -07:00
pkgs-basic-no-access.yaml test: add scenarios where publish or access are missing (#1054) 2018-10-07 00:45:17 +02:00
pkgs-basic-no-proxy.yaml test: add scenarios where publish or access are missing (#1054) 2018-10-07 00:45:17 +02:00
pkgs-basic-no-publish.yaml test: add scenarios where publish or access are missing (#1054) 2018-10-07 00:45:17 +02:00
pkgs-basic.yaml
pkgs-custom.yaml
pkgs-empty.yaml
pkgs-multi-group.yaml
pkgs-nosuper-wildcard-custom.yaml
README.md chore: fix eslint warnings (#1471) 2019-09-26 18:22:14 +02:00
store.spec.yaml chore: remove ununsed prop in storage spec config file 2019-07-27 07:21:45 +02:00
token.spec.yaml chore: fix eslint warnings (#1471) 2019-09-26 18:22:14 +02:00
uplink-basic.yaml chore: more unit test for config utils 2018-07-04 07:31:51 +02:00
uplink-wrong.yaml chore: more unit test for config utils 2018-07-04 07:31:51 +02:00

Yaml Configurations

This folder host all sort of configurations for testing. We use yaml instead json configuration files for different reasons, maintenability, avoid polute with non use data and contributors can easily understand them.

The files on this folder should be small as possible, there is a custom config file for all tests (default.yaml) and the following configuration aims to override those part are need it for the test.

Contribute

  • Each topic ideally should have his own folder if many scenarios might be part of the test. eg: profile, security
    • Include different scenarios inside of the folder with enough context to indenty the use case.
  • Foder or file, should be named as the test that used them. eg: api.spec.yaml -> api.spec.ts
  • Don't use the same config file in multiple test, it increase maintenance complexity.
  • Try to include only the props are require for the test:
  • Comment the config files, don't be shy, add as much context you think is need it for future contributors.

Note: Some configurations might be not aligned with this rules, but in the future all files should be follow them for consistency.