@shelf/jest-elasticsearch
Advanced tools
Comparing version 0.0.4 to 1.0.0
@@ -5,3 +5,3 @@ const documentsMapping = require('./index-mapping'); | ||
return { | ||
esVersion: '7.5.0', | ||
esVersion: '7.6.0', | ||
clusterName: 'docs', | ||
@@ -8,0 +8,0 @@ nodeName: 'docs', |
{ | ||
"name": "@shelf/jest-elasticsearch", | ||
"version": "0.0.4", | ||
"version": "1.0.0", | ||
"description": "Run your tests using jest & elasticsearch-local", | ||
@@ -51,12 +51,12 @@ "keywords": [ | ||
"dependencies": { | ||
"@shelf/elasticsearch-local": "0.2.0", | ||
"@shelf/elasticsearch-local": "1.0.0", | ||
"cwd": "0.10.0" | ||
}, | ||
"devDependencies": { | ||
"@elastic/elasticsearch": "7.5.0", | ||
"@shelf/eslint-config": "0.14.0", | ||
"@elastic/elasticsearch": "7.6.0", | ||
"@shelf/eslint-config": "0.14.2", | ||
"eslint": "6.8.0", | ||
"husky": "4.0.10", | ||
"jest": "24.9.0", | ||
"lint-staged": "10.0.0", | ||
"husky": "4.2.5", | ||
"jest": "25.5.4", | ||
"lint-staged": "10.2.2", | ||
"prettier": "1.19.1" | ||
@@ -63,0 +63,0 @@ }, |
# jest-elasticsearch | ||
> Jest preset for running tests with local ElasticSearch | ||
@@ -27,3 +28,4 @@ | ||
return { | ||
esVersion: '7.5.0', // <== must be < 7.5.0 | ||
esVersion: '7.6.0', // ! must be exact version. Ref: https://github.com/elastic/elasticsearch-js . | ||
// don't be shy to fork our code and update deps to correct. | ||
clusterName: 'your-cluster-name', | ||
@@ -49,3 +51,3 @@ nodeName: 'your-node-name', | ||
id: { | ||
type: "keyword" | ||
type: 'keyword' | ||
} | ||
@@ -57,16 +59,12 @@ } | ||
] | ||
} | ||
} | ||
}; | ||
}; | ||
``` | ||
### 4. PROFIT! Write tests | ||
```js | ||
it() | ||
it(); | ||
``` | ||
## See Also | ||
@@ -77,4 +75,15 @@ | ||
```` | ||
## Publish | ||
```sh | ||
$ git checkout master | ||
$ yarn version | ||
$ yarn publish | ||
$ git push origin master | ||
```` | ||
## License | ||
MIT © [Shelf](https://shelf.io) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4041
1
86
+ Added@shelf/elasticsearch-local@1.0.0(transitive)
- Removed@shelf/elasticsearch-local@0.2.0(transitive)