loopback/lib
Miroslav Bajtoš 50816ebbe3 Fix loopback in PhantomJS, fix karma tests
- Move configuration of Karma unit-tests from `Gruntfile.js` to a
  standalone file (`test/karma.conf.js`).

- Add a new Grunt task `karma:unit-ci` to run Karma unit-tests in
  PhantomJS and produce karma-xunit.xml file that can be consumed
  by the CI server.

- Add grunt-mocha-test, configure it to run unit-tests.

- Add `grunt test` task that runs both karma and mocha tests,
  detects Jenkins to produce XML output on CI server.

- Modify the `test` script in `package.json` to run
  `grunt mocha-and-karma` (an alias for `grunt test`).
  The alias is required to trick `sl-ci-run` to run `npm test`
  instead of calling directly `mocha`.

- Add `es5-shim` module to karma unit-tests in order to provide
  ES5-methods required by LoopBack.

- Fix `mixin(source)` in lib/loopback.js to work in PhantomJS.
  `Object.getOwnPropertyDescriptor()` provided by `es5-shim` does not
  work in the same way as in Node.
2014-06-26 13:30:09 +02:00
..
connectors - Use the RemoteObjects class to find remote objects instead of 2014-05-19 15:56:26 -07:00
middleware Update JSDoc 2014-06-04 17:42:18 -07:00
models Merge branch 'master' into 2.0 2014-06-20 23:48:46 -07:00
application.js Remove `app.boot` 2014-06-25 14:09:06 +02:00
browser-express.js Make app.get/app.set available in browser 2014-06-12 10:40:36 +02:00
compat.js Add loopback.compat to simplify upgrade to 1.6 2014-01-27 10:29:57 +01:00
express-middleware.js Exclude express-middleware from browser bundle 2014-06-03 21:32:27 +02:00
loopback.js Fix loopback in PhantomJS, fix karma tests 2014-06-26 13:30:09 +02:00
registry.js lib/registry: `getModel` throws, add `findModel` 2014-06-16 16:13:24 +02:00
runtime.js refactor: extract runtime and registry 2014-06-12 10:41:44 +02:00