Merge pull request #29 from glesage/test-cleanup
Cleaning up obsolete or unused files & dependencies
This commit is contained in:
commit
7ac9679c17
|
@ -31,17 +31,12 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"assert": "^1.1.2",
|
||||
"async": "^0.9.0",
|
||||
"grunt": "~0.4.5",
|
||||
"grunt-browserify": "~3.0.1",
|
||||
"grunt-cli": "^0.1.13",
|
||||
"grunt-contrib-jshint": "~0.10.0",
|
||||
"grunt-mocha-test": "^0.11.0",
|
||||
"loopback": "^2.2.0",
|
||||
"loopback-datasource-juggler": "^2.9.0",
|
||||
"mocha": "~1.21.4",
|
||||
"strong-task-emitter": "0.0.5",
|
||||
"supertest": "~0.13.0"
|
||||
"strong-task-emitter": "0.0.5"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"sl-blip": "http://blip.strongloop.com/loopback-connector-remote@1.0.3"
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
var loopback = require('loopback');
|
||||
|
||||
module.exports = describe;
|
||||
|
||||
describe.onServer = function describeOnServer(name, fn) {
|
||||
if (loopback.isServer) {
|
||||
describe(name, fn);
|
||||
} else {
|
||||
describe.skip(name, fn);
|
||||
}
|
||||
};
|
||||
|
||||
describe.inBrowser = function describeInBrowser(name, fn) {
|
||||
if (loopback.isBrowser) {
|
||||
describe(name, fn);
|
||||
} else {
|
||||
describe.skip(name, fn);
|
||||
}
|
||||
};
|
|
@ -1,19 +0,0 @@
|
|||
var loopback = require('loopback');
|
||||
|
||||
module.exports = it;
|
||||
|
||||
it.onServer = function itOnServer(name, fn) {
|
||||
if (loopback.isServer) {
|
||||
it(name, fn);
|
||||
} else {
|
||||
it.skip(name, fn);
|
||||
}
|
||||
};
|
||||
|
||||
it.inBrowser = function itInBrowser(name, fn) {
|
||||
if (loopback.isBrowser) {
|
||||
it(name, fn);
|
||||
} else {
|
||||
it.skip(name, fn);
|
||||
}
|
||||
};
|
|
@ -1,11 +1,6 @@
|
|||
var assert = require('assert');
|
||||
var async = require('async');
|
||||
var describe = require('./describe');
|
||||
var loopback = require('loopback');
|
||||
var ACL = loopback.ACL;
|
||||
var Change = loopback.Change;
|
||||
var PersistedModel = loopback.PersistedModel;
|
||||
var RemoteObjects = require('strong-remoting');
|
||||
var TaskEmitter = require('strong-task-emitter');
|
||||
|
||||
module.exports = function defineModelTestsWithDataSource(options) {
|
||||
|
|
Loading…
Reference in New Issue