Skip to content

Commit 67bd51d

Browse files
committed
chore: remove elastic 6.8 for reducing memory consumption
1 parent 0434511 commit 67bd51d

File tree

4 files changed

+2
-25
lines changed

4 files changed

+2
-25
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ flow-typed
22
lib
33
mjs
44
esm
5+
dist

examples/elasticsearch/__tests__/__snapshots__/queriesFromIndex-test.ts.snap

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,6 @@ Object {
1414
}
1515
`;
1616
17-
exports[`elasticsearch > queries Elastic search API 6.8 1`] = `
18-
Object {
19-
"data": Object {
20-
"elastic68": null,
21-
},
22-
"errors": Array [
23-
[GraphQLError: ✋ 🛑 I don't have public elasticsearch instance for demo purposes.
24-
🚀 Demo will work if you provide public elasticsearch instance url
25-
🚀 in query argument \`host: "http://user:pass@example.com:9200"\`
26-
],
27-
],
28-
}
29-
`;
30-
3117
exports[`elasticsearch > queries Elastic search API 7.7 1`] = `
3218
Object {
3319
"data": Object {

examples/elasticsearch/index.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,6 @@ query {
1515
elastic77(host: "http://user:pass@example.com:9200") {
1616
search(q: "JavaScript")
1717
}
18-
}
19-
`,
20-
},
21-
{
22-
title: 'Elastic search API 6.8',
23-
query: `
24-
query {
25-
elastic68(host: "http://user:pass@example.com:9200") {
26-
search(q: "JavaScript")
27-
}
2818
}
2919
`,
3020
},

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
'^.+\\.(ts|js)$': 'ts-jest',
1414
},
1515
roots: ['<rootDir>'],
16-
testPathIgnorePatterns: ['/node_modules/', '/lib/', '/tmp/'],
16+
testPathIgnorePatterns: ['/node_modules/', '/dist/', '/tmp/'],
1717
reporters: [
1818
'default',
1919
[

0 commit comments

Comments
 (0)