Skip to content

Commit 7a393ee

Browse files
address curl integration test failures
1 parent daa5e92 commit 7a393ee

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

demo/src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function App() {
9898
<Col>
9999
<h1>Elasticsearch Request Converter Demo</h1>
100100
</Col>
101-
<Col sm="auto">
101+
<Col sm="auto" className="links">
102102
<p>
103103
<small>
104104
<svg width="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" strokeWidth="0"></g><g id="SVGRepo_tracerCarrier" strokeLinecap="round" strokeLinejoin="round"></g><g id="SVGRepo_iconCarrier"> <g id="Interface / External_Link"> <path id="Vector" d="M10.0002 5H8.2002C7.08009 5 6.51962 5 6.0918 5.21799C5.71547 5.40973 5.40973 5.71547 5.21799 6.0918C5 6.51962 5 7.08009 5 8.2002V15.8002C5 16.9203 5 17.4801 5.21799 17.9079C5.40973 18.2842 5.71547 18.5905 6.0918 18.7822C6.5192 19 7.07899 19 8.19691 19H15.8031C16.921 19 17.48 19 17.9074 18.7822C18.2837 18.5905 18.5905 18.2839 18.7822 17.9076C19 17.4802 19 16.921 19 15.8031V14M20 9V4M20 4H15M20 4L13 11" stroke="#000000" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"></path> </g> </g></svg>

demo/src/index.css

+5
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ pre {
3838
white-space: pre-wrap;
3939
}
4040

41+
.links {
42+
margin-top: auto;
43+
margin-bottom: 0;
44+
}
45+
4146
.copy-clipboard {
4247
line-height: 0.5em;
4348
padding-bottom: 11px;

tests/integration/skip.ts

+3-9
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ const skip: Record<string, SkippedTest> = {
9292
reason: "endpoint URL is not in the spec",
9393
formats: ["python"],
9494
},
95-
"67b71a95b6fe6c83faae51ea038a1bf1": {
96-
reason: "endpoint URL is not in the spec",
97-
},
9895
"50096ee0ca53fe8a88450ebb2a50f285": {
9996
reason: "example references a non-existant `delimiter` query attribute",
10097
formats: ["python"],
@@ -205,9 +202,6 @@ const skip: Record<string, SkippedTest> = {
205202
"6539a04aac4d43e6ce4a769fe8cdf2d8": {
206203
reason: "example uses unknown URL",
207204
},
208-
"615dc36f0978c676624fb7d1144b4899": {
209-
reason: "example uses unknown URL",
210-
},
211205
af91019991bee136df5460e2fd4ac72a: {
212206
reason: "example uses unknown `lazy` query attribute",
213207
formats: ["python"],
@@ -232,9 +226,6 @@ const skip: Record<string, SkippedTest> = {
232226
"2d633b7f346b828d01f923ce9dbf6ad5": {
233227
reason: "invalid request syntax",
234228
},
235-
"174b93c323aa8e9cc8ee2a3df5736810": {
236-
reason: "example uses unknown URL",
237-
},
238229
"61a528b86d38c2f17a172326edf6b53b": {
239230
reason: "example uses unknown URL",
240231
},
@@ -385,6 +376,9 @@ const skip: Record<string, SkippedTest> = {
385376
reason: "test uses unknown `remote_indices` attribute",
386377
formats: ["python", "javascript"],
387378
},
379+
"31bc93e429ad0de11dd2dd231e8f2c5e": {
380+
reason: "example uses unknown URL",
381+
},
388382
};
389383

390384
export function shouldBeSkipped(

0 commit comments

Comments
 (0)