Comparing version 1.0.29 to 1.0.30
{ | ||
"name": "wyselib", | ||
"version": "1.0.29", | ||
"version": "1.0.30", | ||
"description": "WyattERP Schema Library", | ||
@@ -30,4 +30,5 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"tcl": "^3.0.0", | ||
"mocha": "^9.1.3" | ||
"d3-fetch": "^3.0.1", | ||
"mocha": "^9.1.3", | ||
"tcl": "^3.0.0" | ||
}, | ||
@@ -34,0 +35,0 @@ "dependencies": { |
@@ -23,3 +23,3 @@ //Build test database schema; Run first | ||
before('Build schema database', function(done) { | ||
this.timeout(4000) //Build may be a little slow | ||
this.timeout(10000) //Build may be a little slow | ||
Child.exec("wyseman objects text defs init", {cwd: __dirname}, (e) => {done(e)}) | ||
@@ -35,3 +35,3 @@ }) | ||
it('Should have 9 wyseman tables built', function(done) { | ||
it('Should have expected wyseman tables built', function(done) { | ||
let sql = "select * from pg_tables where schemaname = 'wm'" | ||
@@ -45,6 +45,6 @@ db.query(sql, null, (e, res) => {if (e) done(e) | ||
it('Should have 15 wyselib tables built', function(done) { | ||
it('Should have expected wyselib tables built', function(done) { | ||
let sql = "select * from pg_tables where schemaname = 'base'" | ||
db.query(sql, null, (e, res) => {if (e) done(e) | ||
assert.equal(res.rows.length, 15) | ||
assert.equal(res.rows.length, 17) | ||
done() | ||
@@ -57,3 +57,3 @@ }) | ||
db.query(sql, null, (e, res) => {if (e) done(e) | ||
assert.equal(res.rows.length, 194) | ||
assert.equal(res.rows.length, 200) | ||
done() | ||
@@ -66,3 +66,3 @@ }) | ||
db.query(sql, null, (e, res) => {if (e) done(e) | ||
assert.equal(res.rows.length, 303) | ||
assert.equal(res.rows.length, 318) | ||
done() | ||
@@ -75,3 +75,3 @@ }) | ||
db.query(sql, null, (e, res) => {if (e) done(e) | ||
assert.equal(res.rows.length, 242) | ||
assert.equal(res.rows.length, 249) | ||
done() | ||
@@ -78,0 +78,0 @@ }) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1116150
3