import { macroTester } from "./macroTester" describe.skip("", () => {}) macroTester({ cases: [ { code: ` import { Plural } from '@lingui/react/macro'; A lot of them} />; `, }, { name: "Plural macro could be renamed", code: ` import { Plural as Plural2 } from '@lingui/react/macro'; ; `, }, { name: "Should preserve reserved props: `comment`, `context`, `render`, `id`", code: ` import { Plural } from '@lingui/react/macro'; {}} value={count} offset="1" _0="Zero items" few={\`\${count} items\`} other={A lot of them} />; `, }, { code: ` import { Trans, Plural } from '@lingui/react/macro'; # slot added } other={ # slots added } />; `, }, { name: "Should return cases without leading or trailing spaces for nested Trans inside Plural", code: ` import { Trans, Plural } from '@lingui/react/macro'; One hello } other={ Other hello } value={count} />; `, }, { code: ` import { Plural } from '@lingui/react/macro'; A lot of them} />; `, }, { code: ` import { Trans, Plural } from '@lingui/react/macro'; Looking for{" "} a lot of them} /> `, }, { code: ` import { Plural } from '@lingui/react/macro'; A lot of them} />; `, }, { filename: `jsx-plural-select-nested.js`, }, ], })