angular-cn/aio/content
George Kalpakas 8660806ddc build(docs-infra): renamed `e2e` property of `example-config.json` to `tests` (#36143)
Each docs example has an `example-config.json` configuration file. Among
other things, this file can be used to specify what commands to run in
order to test the example. (If not specified, the `run-example-e2e.js`
script will run a default `yarn e2e` command.)

Previously, the property specifying the test commands was called `e2e`.
This is because in the past only e2e tests were run for docs examples.
Since recently, some examples may specify commands for other types of
tests (such as unit tests). Therefore, calling the property that holds
the list of test commands `e2e` no longer makes sense and can be
misleading to people looking at the configuration files.

This commit renamed the property to the more generic `tests`. In the
future, the `run-example-e2e.js` script (and corresponding npm script)
should be renamed and refactored to also avoid giving the impression
that only e2e tests are run.

Discussed in:
https://github.com/angular/angular/pull/36143#discussion_r395148379

PR Close #36143
2020-04-06 15:31:07 -07:00
..
cli refactor(docs-infra): remove obsolete `format` attribute from code examples (#31674) 2019-07-24 14:38:54 -07:00
cli-src build(docs-infra): make the git ref for cli command docs configurable (#26391) 2018-10-11 12:57:49 -07:00
examples build(docs-infra): renamed `e2e` property of `example-config.json` to `tests` (#36143) 2020-04-06 15:31:07 -07:00
guide build(docs-infra): update docs examples `package.json` templates wrt `core-js` (#36143) 2020-04-06 15:31:07 -07:00
images docs: adding Doguhan Uluca as GDE resource (#34789) 2020-04-03 14:03:57 -07:00
marketing docs: adding Doguhan Uluca as GDE resource (#34789) 2020-04-03 14:03:57 -07:00
start fix(docs-infra): remove `routerLink` from `top-bar` (#35951) 2020-03-13 08:25:39 -07:00
tutorial docs: remove service from region where it was added before it was created (#35354) 2020-02-12 16:46:22 -08:00
file-not-found.md fix(docs-infra): do not create an anchor for the `file-not-found` header (#27250) 2018-12-05 13:26:26 -08:00
license.md build: bump year (#34651) 2020-01-13 07:21:43 -08:00
navigation.json docs: update and edit web-worker page (#36026) 2020-04-01 13:17:26 -07:00