Skip to content

Commit

Permalink
fix: @mock
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Jun 3, 2021
1 parent 89cd321 commit c1342c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sigodenjs/apitest",
"description": "declartive api testing tool",
"version": "0.3.0",
"version": "0.3.1",
"bin": {
"apitest": "dist/bin.js"
},
Expand Down
1 change: 0 additions & 1 deletion src/createReq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ function createValue(paths: string[], ctx: VmContext, jsa: JsonaValue) {
try {
return fake(value);
} catch(err) {
console.log(err);
throw new RunUnitError(paths, "mock", `bad mock '${value}'`);
}
} else {
Expand Down

0 comments on commit c1342c0

Please sign in to comment.