Skip to content

Commit

Permalink
v4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Rodger authored and Richard Rodger committed Jan 15, 2024
1 parent 3ff4530 commit 677a9cb
Show file tree
Hide file tree
Showing 7 changed files with 625 additions and 574 deletions.
11 changes: 10 additions & 1 deletion dist/msg-test.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
export {};
declare function msg_test(seneca: any, spec: any): {
(): Promise<void>;
run: (seneca: any, spec: any, calls: any) => Promise<unknown>;
};
declare namespace msg_test {
var MsgTest: typeof msg_test;
var Joi: any;
var LN: (t: any) => any;
}
export default msg_test;
10 changes: 7 additions & 3 deletions dist/msg-test.js

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

2 changes: 1 addition & 1 deletion dist/msg-test.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seneca-msg-test",
"version": "4.0.1",
"version": "4.1.0",
"description": "Structured testing of seneca plugin messages.",
"main": "dist/msg-test.js",
"type": "commonjs",
Expand Down
16 changes: 13 additions & 3 deletions src/msg-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ const Joi = Optioner.Joi



module.exports = msg_test
module.exports.Joi = Joi
module.exports.LN = LN

const optioner = Optioner({
init: Joi.function(),
Expand Down Expand Up @@ -360,3 +357,16 @@ function LN(t: any) {
return t
}
}


msg_test.MsgTest = msg_test
msg_test.Joi = Joi
msg_test.LN = LN


export default msg_test


if ('undefined' !== typeof module) {
module.exports = msg_test
}
904 changes: 464 additions & 440 deletions test/coverage.html

Large diffs are not rendered by default.

Loading

0 comments on commit 677a9cb

Please sign in to comment.