I was trying to understand JavaScript Promises by using various libraries (bluebird, when, Q) and other async approaches.
I read the spec, some blog posts, and looked through some code. I learned how to
| # Cache, temp and personal files | |
| /.htaccess | |
| *.log | |
| npm-debug.log.* | |
| .sass-cache/ | |
| /cache/* | |
| download/* | |
| /img/* | |
| /log/* |
I was trying to understand JavaScript Promises by using various libraries (bluebird, when, Q) and other async approaches.
I read the spec, some blog posts, and looked through some code. I learned how to
| <?php | |
| namespace Traits\Tests; | |
| /** | |
| * Mocks the entity manager | |
| * | |
| * Provides everything in the memory, so the tests does not depend on doctrine, | |
| * which does a lot of stuff (maybe too much). This also allows to avoid to | |
| * need and modify the data in the database, even if those are for the tests. |