GoScrobble/web/node_modules/eslint-plugin-jsx-a11y/__mocks__/JSXSpreadAttributeMock.js

13 lines
227 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
/**
* @flow
*/
import IdentifierMock from './IdentifierMock';
export default function JSXSpreadAttributeMock(identifier: string) {
return {
type: 'JSXSpreadAttribute',
argument: IdentifierMock(identifier),
};
}