Skip to content

Commit b1b64a7

Browse files
committed
style: reformat files with prettier
1 parent 09d2484 commit b1b64a7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/index.spec.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function parse(source, handler) {
1414
return docgen.parse(code, findAllComponentDefinitions, [handler])[0];
1515
}
1616

17-
test('Explicitly set displayName as member of React.createClass', t => {
17+
test('Explicitly set displayName as member of React.createClass', (t) => {
1818
const doc = parse(
1919
`
2020
var MyComponent = React.createClass({ displayName: 'foo' });
@@ -29,7 +29,7 @@ test('Explicitly set displayName as member of React.createClass', t => {
2929
);
3030
});
3131

32-
test('Explicitly set displayName as static class member', t => {
32+
test('Explicitly set displayName as static class member', (t) => {
3333
const doc = parse(
3434
`
3535
class MyComponent extends React.Component { static displayName = 'foo'; render() {} }
@@ -44,7 +44,7 @@ test('Explicitly set displayName as static class member', t => {
4444
);
4545
});
4646

47-
test('Infer displayName from function declaration/expression name', t => {
47+
test('Infer displayName from function declaration/expression name', (t) => {
4848
{
4949
const doc = parse(
5050
`
@@ -75,7 +75,7 @@ test('Infer displayName from function declaration/expression name', t => {
7575
}
7676
});
7777

78-
test('Infer displayName from class declaration/expression name', t => {
78+
test('Infer displayName from class declaration/expression name', (t) => {
7979
{
8080
const doc = parse(
8181
`
@@ -106,7 +106,7 @@ test('Infer displayName from class declaration/expression name', t => {
106106
}
107107
});
108108

109-
test('Infer displayName from variable declaration name', t => {
109+
test('Infer displayName from variable declaration name', (t) => {
110110
const doc = parse(
111111
`
112112
var Foo = React.createClass({});
@@ -121,7 +121,7 @@ test('Infer displayName from variable declaration name', t => {
121121
);
122122
});
123123

124-
test('Infer displayName from assignment', t => {
124+
test('Infer displayName from assignment', (t) => {
125125
const doc = parse(
126126
`
127127
var Foo = {};
@@ -137,7 +137,7 @@ test('Infer displayName from assignment', t => {
137137
);
138138
});
139139

140-
test('Infer displayName from file name', t => {
140+
test('Infer displayName from file name', (t) => {
141141
const doc = parse(
142142
`
143143
module.exports = () => <div />;
@@ -152,7 +152,7 @@ test('Infer displayName from file name', t => {
152152
);
153153
});
154154

155-
test('Infer displayName from file path', t => {
155+
test('Infer displayName from file path', (t) => {
156156
{
157157
const doc = parse(
158158
`
@@ -183,7 +183,7 @@ test('Infer displayName from file path', t => {
183183
}
184184
});
185185

186-
test('Use default if displayName cannot be inferred', t => {
186+
test('Use default if displayName cannot be inferred', (t) => {
187187
const doc = parse(
188188
`
189189
module.exports = () => <div />;

0 commit comments

Comments
 (0)