Commit Graph

13 Commits

Author SHA1 Message Date
Miroslav Bajtoš 7eeadc4289 Add nyc coverage, report data to coveralls.io 2017-01-31 14:09:02 +01:00
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
Ritchie Martori 2f21f4ec1e Rework replication test 2014-05-15 17:30:58 -07:00
Al Tsang 1820fb7013 took google docs TOC and put into sdocs 2013-08-12 10:40:50 -07:00
Ritchie Martori bcef4c88cf Remove node modules from ignore, removie configure middleware 2013-06-07 13:12:46 -07:00
Raymond Feng d856ca026d Bring up the oracle integration 2013-05-24 08:57:52 -07:00
Ritchie 8870323980 Remove inflection src 2013-05-24 08:00:49 -07:00
Ritchie Martori fc25f95792 Update ignores 2013-05-17 17:56:55 -07:00
Ritchie c65fde6bd6 Ignore merge 2013-05-07 11:46:57 -07:00
Ritchie Martori c9ae880822 Point deps at github 2013-05-02 11:31:44 -07:00
Ritchie Martori 3457d34afe Add bundledDeps 2013-04-19 09:55:52 -07:00
Ritchie Martori cd8d679df0 Update gitignore to allow node_modules 2013-04-09 11:33:29 -07:00
Ritchie Martori 2a0f68e434 init 2013-04-09 09:02:36 -07:00