Skip to content

Commit

Permalink
seneca-msg-test now async
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed May 17, 2019
1 parent c35e944 commit e5f9950
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 51 deletions.
139 changes: 97 additions & 42 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@
"node": ">=8"
},
"dependencies": {
"optioner": "3",
"seneca-msg-test": "0"
"optioner": "4.0.0",
"seneca-msg-test": "1.1.0"
},
"devDependencies": {
"code": "5",
"coveralls": "^3.0.3",
"lab": "^18.0.2",
"prettier": "^1.16.4",
"seneca": "^3.8.4",
"seneca-entity": "^2.5.1",
"seneca-joi": "^3.1.0",
"prettier": "^1.17.1",
"seneca": "^3.11.0",
"seneca-entity": "^4.0.0",
"seneca-joi": "^4.0.1",
"seneca-member": "0",
"seneca-plugin-validator": "0",
"seneca-promisify": "^0.7.1",
"seneca-promisify": "^0.8.0",
"seneca-repl": "1"
}
}
2 changes: 1 addition & 1 deletion populate.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const intern = (module.exports.intern = {
var json = JSON.stringify(intern.load_data(spec, seneca.util.deepextend))

await seneca.post('role:mem-store,cmd:import,merge:true', { json: json })
await Util.promisify(SenecaMsgTest.intern.run)(seneca, spec)
await SenecaMsgTest.intern.run(seneca, spec)
},

load_data: function(spec, deepextend) {
Expand Down
2 changes: 1 addition & 1 deletion test/populate.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ lab.test('export_import', async () => {
})()
})

lab.test('populate', async () => {
lab.test('populate-basic', async () => {
return await Util.promisify(function(fin) {
var opts = {
populate: true,
Expand Down

0 comments on commit e5f9950

Please sign in to comment.