Merge pull request #102 from strongloop/fix-comma-dangle

chore: fix eslint violations
This commit is contained in:
Nora 2019-11-19 11:24:39 -05:00 committed by GitHub
commit 22ee132941
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -12,7 +12,8 @@
"scripts": {
"test": "grunt",
"posttest": "npm run lint",
"lint": "eslint ."
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"engines": {
"node": ">=8"

View File

@ -37,7 +37,7 @@ describe('Models Define Type Tests', function() {
clientApp.model(RemoteModel, {dataSource: remoteDs});
sinon.assert.calledOnce(defineObjectTypeSpy.withArgs(
RemoteModel.modelName
RemoteModel.modelName,
));
});
@ -66,10 +66,10 @@ describe('Models Define Type Tests', function() {
clientApp.model(RemoteModel, {dataSource: remoteDs});
sinon.assert.calledOnce(defineObjectTypeSpy.withArgs(
RemoteModel.modelName
RemoteModel.modelName,
));
sinon.assert.calledOnce(defineObjectTypeSpy.withArgs(
ChildModel.modelName
ChildModel.modelName,
));
});
});