mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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} from
|
||||||
* @param {string} toPath
|
* @param {string} to
|
||||||
*/
|
*/
|
||||||
setRedirect(from, to) {
|
setRedirect(from, to) {
|
||||||
this.setRoute(from, (req, res) => {
|
this.setRoute(from, (req, res) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user