Optional
Returns a snapshot of the extension tree structure for testing and debugging. Convenient to use with Jest's inline snapshot testing.
const tester = createExtensionTester(myExtension);expect(tester.snapshot()).toMatchInlineSnapshot(); Copy
const tester = createExtensionTester(myExtension);expect(tester.snapshot()).toMatchInlineSnapshot();
Returns a snapshot of the extension tree structure for testing and debugging. Convenient to use with Jest's inline snapshot testing.