test(server): Fix mismatch between args and annotations (#2426)
This commit is contained in:
parent
6ac7f75611
commit
e9dc3ae74f
@ -136,8 +136,8 @@ class SimpleServer {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} fromPath
|
||||
* @param {string} toPath
|
||||
* @param {string} from
|
||||
* @param {string} to
|
||||
*/
|
||||
setRedirect(from, to) {
|
||||
this.setRoute(from, (req, res) => {
|
||||
|
Loading…
Reference in New Issue
Block a user