function restoreView coderestore(id?: number): voidRestores all mocks registered in the current session that have not already been restored. If an id is provided, it will restore all mocks registered in the session associed with that id that have not already been restored. Parametersoptionalid: numberView codeReturn TypevoidView code