angular-cn/aio/content/examples/i18n
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
..
doc-files docs: initial Ivy i18n guide updates (#33762) 2019-11-25 14:12:18 -05:00
e2e/src docs(aio): Upgrade examples to Angular 6 (#23234) 2018-04-17 14:09:02 -07:00
src docs: remove heroes reference in i18n example (#31515) 2019-07-11 15:07:55 -04:00
example-config.json build(docs-infra): renamed `e2e` property of `example-config.json` to `tests` (#36143) 2020-04-06 15:31:07 -07:00
zipper.json build(docs-infra): remove obsolete properties from `zipper.json` files (#36018) 2020-03-27 10:48:30 -07:00