Skip to content

Commit

Permalink
v6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Jul 12, 2024
1 parent c8b9f25 commit b5b26a8
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 151 deletions.
42 changes: 21 additions & 21 deletions lib/store-test-extended.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function apiv2(settings) {
function (err) {
assert(!err)
done()
}
},
)
})
})
Expand All @@ -59,7 +59,7 @@ function apiv2(settings) {
assert.equal('apple', lst[0].name)
assert.equal('cherry', lst[1].name)
done()
}
},
)
})

Expand All @@ -75,7 +75,7 @@ function apiv2(settings) {
assert.equal('apple', lst[0].name)
assert.equal('cherry', lst[1].name)
done()
}
},
)
})

Expand Down Expand Up @@ -115,7 +115,7 @@ function apiv2(settings) {
assert.equal('pear', lst[0].name)
assert.equal('cherry', lst[1].name)
done()
}
},
)
})

Expand All @@ -130,7 +130,7 @@ function apiv2(settings) {
assert.equal(1, lst.length)
assert.equal('cherry', lst[0].name)
done()
}
},
)
})

Expand All @@ -146,7 +146,7 @@ function apiv2(settings) {
assert.equal('apple', lst[0].name)
assert.equal('pear', lst[1].name)
done()
}
},
)
})

Expand All @@ -161,7 +161,7 @@ function apiv2(settings) {
assert.equal(1, lst.length)
assert.equal('apple', lst[0].name)
done()
}
},
)
})

Expand All @@ -177,7 +177,7 @@ function apiv2(settings) {
assert.equal('pear', lst[0].name)
assert.equal('cherry', lst[1].name)
done()
}
},
)
})

Expand All @@ -193,7 +193,7 @@ function apiv2(settings) {
assert.equal('pear', lst[0].name)
assert.equal('cherry', lst[1].name)
done()
}
},
)
})

Expand All @@ -208,7 +208,7 @@ function apiv2(settings) {
assert.equal(1, lst.length)
assert.equal('pear', lst[0].name)
done()
}
},
)
})

Expand All @@ -222,7 +222,7 @@ function apiv2(settings) {

assert.equal(0, lst.length)
done()
}
},
)
})

Expand All @@ -236,7 +236,7 @@ function apiv2(settings) {

assert.equal(3, lst.length)
done()
}
},
)
})

Expand All @@ -251,7 +251,7 @@ function apiv2(settings) {
assert.equal(1, lst.length)
assert.equal('apple', lst[0].name)
done()
}
},
)
})

Expand All @@ -269,7 +269,7 @@ function apiv2(settings) {
assert.equal(1, lst.length)
assert.equal('pear', lst[0].name)
done()
}
},
)
})

Expand All @@ -284,7 +284,7 @@ function apiv2(settings) {
assert.equal(1, lst.length)
assert.equal('apple', lst[0].name)
done()
}
},
)
})

Expand All @@ -300,7 +300,7 @@ function apiv2(settings) {
assert.equal('pear', lst[0].name)
assert.equal('cherry', lst[1].name)
done()
}
},
)
})

Expand All @@ -315,7 +315,7 @@ function apiv2(settings) {
assert.equal(1, lst.length)
assert.equal('cherry', lst[0].name)
done()
}
},
)
})

Expand All @@ -337,7 +337,7 @@ function apiv2(settings) {
assert.equal('pear', lst[0].name)
assert.equal('cherry', lst[1].name)
done()
}
},
)
})

Expand All @@ -361,7 +361,7 @@ function apiv2(settings) {
assert.equal('pear', lst[0].name)
assert(!lst[0].price)
done()
}
},
)
})

Expand All @@ -383,7 +383,7 @@ function apiv2(settings) {
assert.equal('cherry', lst[0].name)
assert(!lst[0].price)
done()
}
},
)
})
})
Expand All @@ -405,7 +405,7 @@ function make_it(lab) {
opts,
Util.promisify(function (x, fin) {
func(fin)
})
}),
)
}
}
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "seneca-store-test",
"version": "5.2.0",
"version": "6.0.0",
"description": "Standard test cases for seneca stores",
"main": "store-test.js",
"scripts": {
"test": "lab -v -P test -L -t 80 -r console -o stdout -r html -o test/coverage.html -r lcov -o test/lcov.info",
"test":"echo fix-test",
"x-test": "lab -v -P test -L -t 80 -r console -o stdout -r html -o test/coverage.html -r lcov -o test/lcov.info",
"test-some": "lab -v -P test -L -r console -g ",
"coveralls": "lab -s -P test -r lcov | coveralls",
"coverage": "lab -v -P test -t 80 -r html > docs/coverage.html",
Expand Down Expand Up @@ -47,18 +48,18 @@
"lib"
],
"dependencies": {
"async": "3.2.4",
"async": "3.2.5",
"chai": "4.3.7",
"nid": "2.0.1",
"seneca-promisify": "3.4.0"
"seneca-promisify": "3.7.2"
},
"devDependencies": {
"@hapi/code": "9.0.2",
"@hapi/lab": "25.1.0",
"@hapi/code": "9.0.3",
"@hapi/lab": "25.2.0",
"coveralls": "3.1.1",
"prettier": "^2.8.2",
"prettier": "^3.3.2",
"seneca": "plugin",
"seneca-entity": "18.4.0",
"seneca-mem-store": "7.0.1"
"seneca-entity": "27.2.0",
"seneca-mem-store": "9.3.0"
}
}
Loading

0 comments on commit b5b26a8

Please sign in to comment.