angular-cn/tools/testing
Greg Magolan 436e7388c3 build: update to rules_nodejs 1.1.0 (#34736)
This release resolves the bootstrap require patching issue with jasmine_node_test. Require patches are now included before any bootstrap scripts.

PR Close #34736
2020-01-15 14:58:07 -05:00
..
BUILD.bazel build: update to rules_nodejs 1.1.0 (#34736) 2020-01-15 14:58:07 -05:00
README.md
fail.spec.js test: test for regression where jasmine_node_test passes silently (#34736) 2020-01-15 14:58:07 -05:00
init_browser_spec.ts
init_node_no_angular_spec.ts
init_node_spec.ts build: add a before-all-other bootstrap script that patches require (#34736) 2020-01-15 14:58:07 -05:00

README.md

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.