Cody Schwebke

Results 3 comments of Cody Schwebke

This is still an issue with the latest versions of Lexical. Here is an updated sandbox link. https://codesandbox.io/s/affectionate-microservice-r5r38c

This appears to be fixed in the latest version. All correctly return `-7` when run on https://day.js.org

I think something similar can be achieved by doing the following: ```js afterEach(() => { if (jest.isMockFunction(setTimeout)) { jest.runOnlyPendingTimers(); jest.useRealTimers(); } }); ``` https://jestjs.io/docs/jest-object#jestismockfunctionfn