mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
test(sanitization): migrate test to spec (#19186)
This commit is contained in:
@ -104,7 +104,7 @@ export class Router implements ComponentInterface {
|
||||
* Go back to previous page in the window.history.
|
||||
*/
|
||||
@Method()
|
||||
back() {
|
||||
back(): Promise<void> {
|
||||
window.history.back();
|
||||
return Promise.resolve(this.waitPromise);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user