()
| 231 | }; |
| 232 | |
| 233 | const resetEnvironment = () => { |
| 234 | global.console = consoleOriginal; |
| 235 | global.Date = DateOriginal; |
| 236 | global.window = undefined; |
| 237 | global.document = undefined; |
| 238 | global.Matter = undefined; |
| 239 | mock.stopAll(); |
| 240 | }; |
| 241 | |
| 242 | const captureExtrinsics = ({ world }, Matter) => ({ |
| 243 | bodies: Matter.Composite.allBodies(world).reduce((bodies, body) => { |
no outgoing calls
no test coverage detected
searching dependent graphs…