test(server): Fix mismatch between args and annotations (#2426)

This commit is contained in:
yujiosaka 2018-04-24 02:01:16 +09:00 committed by Andrey Lushnikov
parent 6ac7f75611
commit e9dc3ae74f

View File

@ -136,8 +136,8 @@ class SimpleServer {
} }
/** /**
* @param {string} fromPath * @param {string} from
* @param {string} toPath * @param {string} to
*/ */
setRedirect(from, to) { setRedirect(from, to) {
this.setRoute(from, (req, res) => { this.setRoute(from, (req, res) => {