parent
c03161dfe0
commit
1975481cb0
|
@ -12,7 +12,8 @@
|
|||
"scripts": {
|
||||
"test": "grunt",
|
||||
"posttest": "npm run lint",
|
||||
"lint": "eslint ."
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
|
|
|
@ -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,
|
||||
));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue