From 870fac11fcd2ab2e65d61b8667f7d6e920c30658 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Wed, 12 May 2021 14:42:31 +1000 Subject: [PATCH] Add comment --- addons/docs/src/frameworks/react/react-properties.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/docs/src/frameworks/react/react-properties.test.ts b/addons/docs/src/frameworks/react/react-properties.test.ts index 7269ec44adb5..1417a82b5ab5 100644 --- a/addons/docs/src/frameworks/react/react-properties.test.ts +++ b/addons/docs/src/frameworks/react/react-properties.test.ts @@ -67,6 +67,7 @@ describe('react component properties', () => { const properties = extractProps(component); expect(properties).toMatchSpecificSnapshot(path.join(testDir, 'properties.snapshot')); + // snapshot the output of `extractArgTypes` const argTypes = extractArgTypes(component); const parameters = { __isArgsStory: true, argTypes }; const rows = inferControls(({ parameters } as unknown) as StoryContext);