Skip to content

Commit

Permalink
v5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Jan 11, 2023
1 parent 2c72f12 commit c8b9f25
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
18 changes: 9 additions & 9 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "seneca-store-test",
"version": "5.1.0",
"version": "5.2.0",
"description": "Standard test cases for seneca stores",
"main": "store-test.js",
"scripts": {
Expand Down Expand Up @@ -48,17 +48,17 @@
],
"dependencies": {
"async": "3.2.4",
"chai": "4.3.6",
"nid": "2.0.0",
"seneca-promisify": "3.0.0"
"chai": "4.3.7",
"nid": "2.0.1",
"seneca-promisify": "3.4.0"
},
"devDependencies": {
"@hapi/code": "9.0.1",
"@hapi/lab": "25.0.1",
"@hapi/code": "9.0.2",
"@hapi/lab": "25.1.0",
"coveralls": "3.1.1",
"prettier": "^2.7.1",
"prettier": "^2.8.2",
"seneca": "plugin",
"seneca-entity": "18.0.0",
"seneca-mem-store": "6.4.0"
"seneca-entity": "18.4.0",
"seneca-mem-store": "7.0.1"
}
}
8 changes: 8 additions & 0 deletions store-test.js
Expand Up @@ -870,6 +870,14 @@ function basictest(settings) {
['foo1', 'foo2'],
verify(done, function (res) {
Assert.lengthOf(res, 2)

// Order is not guaranteed.
if ('v2' === res[0].p1) {
let res0 = res[0]
res[0] = res[1]
res[1] = res0
}

Assert.equal(res[0].p1, 'v1')
Assert.notOk(res[0].p2)
Assert.notOk(res[0].p3)
Expand Down

0 comments on commit c8b9f25

Please sign in to comment.