source: frontend/node_modules/eslint-plugin-jsx-a11y/__mocks__/JSXSpreadAttributeMock.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 424 bytes
Line 
1/**
2 * @flow
3 */
4
5import IdentifierMock from './IdentifierMock';
6import type { IdentifierMockType } from './IdentifierMock';
7
8export type JSXSpreadAttributeMockType = {
9 type: 'JSXSpreadAttribute',
10 argument: IdentifierMockType,
11};
12
13export default function JSXSpreadAttributeMock(identifier: string): JSXSpreadAttributeMockType {
14 return {
15 type: 'JSXSpreadAttribute',
16 argument: IdentifierMock(identifier),
17 };
18}
Note: See TracBrowser for help on using the repository browser.