angular/tools/testing
Paul Gschwendtner c46d533b22 build: switch devmode output to es2015 (#44505)
To make our test output i.e. devmode output more aligned
with what we produce in the NPM packages, or to be more
aligned with what Angular applications will usually consume,
the devmode output is switched from ES5 to ES2015.

Additionally various tsconfigs (outside of Bazel) have been
updated to match with the other parts of the build. The rules
are:

ES2015 for test configurations, ES2020 for actual code that will
end up being shipped (this includes the IDE-only tsconfigs).

PR Close #44505
2022-01-05 23:20:20 +00:00
..
BUILD.bazel build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
fail.spec.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
init_browser_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
init_node_no_angular_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
init_node_spec.ts refactor(core): remove unused fakeAsyncFallback and asyncFallback (#37879) 2020-11-20 08:34:59 -08:00
README.md feat(ivy): first steps towards ngtsc mode (#23455) 2018-04-25 13:25:33 -07:00

The spec helper files here set up the global testing environment prior to the execution of specs.

There are 3 options:

  • init_node_spec - configures a node environment to test Angular applications with platform-server.
  • init_node_no_angular_spec - configures a node environment for testing without setting up Angular's testbed (no dependency on Angular packages is incurred).
  • init_browser_spec - configures a browser environment to test Angular applications.