feat: throttle scene rendering to animation framerate (#5422)
This commit is contained in:
@ -14,7 +14,7 @@ import { reseed } from "../random";
|
||||
// Unmount ReactDOM from root
|
||||
ReactDOM.unmountComponentAtNode(document.getElementById("root")!);
|
||||
|
||||
const renderScene = jest.spyOn(Renderer, "renderScene");
|
||||
const renderScene = jest.spyOn(Renderer, "renderSceneThrottled");
|
||||
beforeEach(() => {
|
||||
localStorage.clear();
|
||||
renderScene.mockClear();
|
||||
|
Reference in New Issue
Block a user