Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
arnemorken committed Dec 16, 2023
1 parent beede96 commit eb6da97
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/TestModel.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* jshint sub:true */
/* jshint esversion: 9 */
/* globals i18n,any_defs,dbConnection,anyTableFactory,anyModel,test,module,deepEqual,asyncTest,start, */
"use strict";

/****************************************************************************************
Expand Down Expand Up @@ -370,7 +373,6 @@ function testModel()

test('dataSearchNextId and dataSearchMaxId', function() {

let dm1 = new anyModel({type:"foo",source:gDBSource});
var data1 = {
6: {
head: "group",
Expand Down Expand Up @@ -799,8 +801,7 @@ function testModel()
new_data: new_data,
});
console.log(JSON.stringify(dm.data));
deepEqual(res !== null
,
deepEqual(res !== null,
true, "dataUpdateLinkList - different types ("+i+"). ");
if (i==7)
break;
Expand Down Expand Up @@ -1039,7 +1040,7 @@ function testModel()
start();
}, millisec);
},
})
});
deepEqual(res, true, "dbSearch({type:'user',id:"+myid+"}) returns true");
});

Expand Down

0 comments on commit eb6da97

Please sign in to comment.