Go to file
Miško Hevery 8a5eb08672 fix(fakeAsync): have fakeAsync use Proxy zone. (#10797)
Closes #10503

It is possible for code in `beforeEach` to capture and fork a zone
(for example creating `NgZone` in `beforeEach`). Subsequently the code
in `it` may chose to do `fakeAsync`. The issue is that because the
code in `it` can use `NgZone` from the `beforeEach`. it effectively can
escape the `fakeAsync` zone. A solution is to run all of the test in
`ProxyZone` which allows a test to dynamically replace the rules at any
time. This allows the `beforeEach` to fork a zone, and then `it` to
retroactively became `fakeAsync` zone.
2016-08-19 12:10:53 -07:00
.github docs(GH): you never know... (#10740) 2016-08-12 10:33:39 -07:00
modules fix(fakeAsync): have fakeAsync use Proxy zone. (#10797) 2016-08-19 12:10:53 -07:00
scripts fix(ngc): don't codegen foo.d.ngfactory.ts from foo.d.ts (#10833) 2016-08-18 10:11:06 -07:00
tools fix(fakeAsync): have fakeAsync use Proxy zone. (#10797) 2016-08-19 12:10:53 -07:00
.bowerrc chore(dgeni): clean up legacy typings bundle creation 2015-10-29 21:19:59 +00:00
.clang-format feat(tooling): Add a .clang-format for automated JavaScript formatting. 2015-04-02 08:44:34 -07:00
.editorconfig chore(.editorconfig): include markdown config 2015-01-27 00:14:48 -08:00
.gitattributes build: fix some issues on Windows platforms 2016-06-23 10:46:01 +02:00
.gitignore chore(tsc-wrapped): update to newest tsickle 2016-06-09 16:45:16 -07:00
.nvmrc build(node): upgrade to node 5.4.1 2016-01-22 03:25:34 +00:00
.travis.yml ci(travis): enable fast finish mode for optional modes. (#10588) 2016-08-11 23:03:28 -07:00
CHANGELOG.md docs(changelog): added missing closing parenthesis (#10783) 2016-08-16 19:37:24 -07:00
COMMITTER.md chore(docs): update the merge process docs 2015-12-23 02:32:02 +00:00
CONTRIBUTING.md chore(Dart): remove obsolete files, update the docs 2016-07-22 08:20:46 -07:00
DEVELOPER.md chore(docs): remove sentences for dart (#10781) 2016-08-16 19:38:49 -07:00
LICENSE Update change from Apache to MIT license 2016-01-08 13:41:58 -08:00
NAMING.md refactor(ngProbe): rename to ng.probe 2015-08-31 21:32:10 +00:00
README.md chore(Dart): remove obsolete files, update the docs 2016-07-22 08:20:46 -07:00
TOOLS.md chore(docs): remove sentences for dart (#10781) 2016-08-16 19:38:49 -07:00
TRIAGE_AND_LABELS.md chore(docs): explain the process for merging changes to master 2015-08-11 21:28:46 +00:00
bower.json fix(benchmarks): update react and polymer benchmarks and get tree update numbers for all of the benchmarks as well. 2015-10-28 13:17:01 -07:00
browser-providers.conf.js ci(browser providers): update browsers in SL and BS (#10425) 2016-08-01 08:00:12 -07:00
build.sh chore: remove deprecated router 2/2 2016-08-09 15:24:14 -07:00
circle.yml chore(lint): re-enable clang-format on tools/ 2016-05-26 15:46:03 -07:00
gulpfile.js chore(playground): clang-format 2016-08-05 12:26:28 -07:00
karma-js.conf.js fix(fakeAsync): have fakeAsync use Proxy zone. (#10797) 2016-08-19 12:10:53 -07:00
npm-shrinkwrap.clean.json fix(fakeAsync): have fakeAsync use Proxy zone. (#10797) 2016-08-19 12:10:53 -07:00
npm-shrinkwrap.json fix(fakeAsync): have fakeAsync use Proxy zone. (#10797) 2016-08-19 12:10:53 -07:00
npm-shrinkwrap.readme.md build(npm): add tools/npm/reshrinkwrap script and update docs 2016-01-22 03:25:33 +00:00
package.json fix(fakeAsync): have fakeAsync use Proxy zone. (#10797) 2016-08-19 12:10:53 -07:00
perf-cloud-secret.template.js refactor(build): support multiple configurable browsers for e2e and perf tests 2015-01-20 13:06:37 -08:00
presubmit.sh refactor(compiler): rename /compiler_cli to /compiler-cli 2016-06-02 13:50:32 -07:00
protractor-js-dev.conf.js chore(test): setup a gulp task for quickly running e2e tests against the dev server 2015-06-11 16:58:32 -07:00
protractor-js-new-world.conf.js build: use connect web server instead of SimpleHTTPServer 2016-05-25 08:22:07 -07:00
protractor-js-prod.conf.js chore(build): add a task to watch and render examples and e2e tests for production 2015-06-19 18:57:41 -04:00
protractor-js.conf.js build: adding basic e2e testing infrastructure 2016-05-02 08:15:10 -07:00
protractor-shared.js refactor(chore): Replace all 'bindings' with 'providers' 2016-05-23 13:31:08 -07:00
publish-packages.sh chore: remove deprecated router 2/2 2016-08-09 15:24:14 -07:00
shims_for_IE.js test: add Blob and FormData polyfills for testing in IE9 (#10563) 2016-08-12 10:35:19 -07:00
test-main.js chore: remove deprecated router 2/2 2016-08-09 15:24:14 -07:00
test.sh chore: add browserNoRouter test running mode 2016-08-02 09:28:04 -07:00
tslint.json chore(lint): enable lint check for duplicate vars 2016-07-13 12:33:39 -07:00

README.md

Build Status CircleCI Join the chat at https://gitter.im/angular/angular Issue Stats Issue Stats npm version Downloads

Sauce Test Status

Angular

Angular is a development platform for building mobile and desktop web applications. This is the repository for Angular 2 Typescript/JavaScript (JS).

Angular2 for Dart can be found at dart-lang/angular2.

Angular 2 is currently in Release Candidate.

Quickstart

Get started in 5 minutes.

Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.