Skip to content

Commit ad65157

Browse files
committed
fixed lint error
1 parent ebb116b commit ad65157

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

packages/templates/clients/websocket/java/quarkus/test/components/ConstructorSignature.test.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,46 +16,46 @@ describe('ConstructorSignature component (integration with AsyncAPI document)',
1616
const parseResult = await fromFile(parser, asyncapiFilePath).parse();
1717
parsedAsyncAPIDocument = parseResult.document;
1818
channels = parsedAsyncAPIDocument.channels();
19-
19+
2020
const queryParams = getQueryParams(channels);
2121
queryParamsArray = queryParams ? Array.from(queryParams.entries()) : null;
2222
});
2323

2424
test('renders nothing when queryParams is null', () => {
2525
const result = render(
26-
<ConstructorSignature
27-
clientName="WebSocketClient"
28-
queryParams={null}
29-
/>
26+
<ConstructorSignature
27+
clientName="WebSocketClient"
28+
queryParams={null}
29+
/>
3030
);
3131
expect(result.trim()).toMatchSnapshot();
3232
});
3333

3434
test('renders nothing when queryParams is undefined', () => {
3535
const result = render(
36-
<ConstructorSignature
37-
clientName="WebSocketClient"
38-
/>
36+
<ConstructorSignature
37+
clientName="WebSocketClient"
38+
/>
3939
);
4040
expect(result.trim()).toMatchSnapshot();
4141
});
4242

4343
test('renders constructor signature with empty parameters when queryParams is empty array', () => {
4444
const result = render(
45-
<ConstructorSignature
46-
clientName="WebSocketClient"
47-
queryParams={[]}
48-
/>
45+
<ConstructorSignature
46+
clientName="WebSocketClient"
47+
queryParams={[]}
48+
/>
4949
);
5050
expect(result.trim()).toMatchSnapshot();
5151
});
5252

5353
test('renders constructor signature with query parameters from fixture', () => {
5454
const result = render(
55-
<ConstructorSignature
56-
clientName="WebSocketClient"
57-
queryParams={queryParamsArray}
58-
/>
55+
<ConstructorSignature
56+
clientName="WebSocketClient"
57+
queryParams={queryParamsArray}
58+
/>
5959
);
6060
expect(result.trim()).toMatchSnapshot();
6161
});

0 commit comments

Comments
 (0)