Skip to content
This repository has been archived by the owner on Dec 10, 2020. It is now read-only.

Commit

Permalink
refactor(rpc): modify test name
Browse files Browse the repository at this point in the history
  • Loading branch information
tomonari-t committed Jun 10, 2020
1 parent 357c1e9 commit d2ef871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rpc/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test(`${prefix} should work without \`params\` when it's optional`, t => {
baseRequest(t, server, req, 200, expectRes)
})

test(`${prefix} should throw without \`params\` when it's required`, t => {
test(`${prefix} should return error without \`params\` when it's required`, t => {
const mockMethodName = 'mock'
const server = startRPC({
[mockMethodName]: middleware((params, cb) => {
Expand Down

0 comments on commit d2ef871

Please sign in to comment.