{"repo":"geek-fun/jest-search","free":true,"listed":false,"github":"https://github.com/geek-fun/jest-search","clone":"git clone https://github.com/geek-fun/jest-search.git","description":"Jest preset for running tests with local ElasticSearch, OpenSearch and ZincSearch.","language":"TypeScript","stars":17,"topics":["elasticsearch","integration-test","jest","jest-preset","opensearch","tdd-javascript","tdd-typescript","es","jest-environment","tdd"],"license":"MIT","category":"data-pipelines","readme_excerpt":"jest-search Jest preset for running tests with local ElasticSearch, OpenSearch and ZincSearch. Usage Prerequisite: ElasticSearch and OpenSearch relies on Java, please make sure you have Java installed and JAVA HOME is set. jest-search provide two ways to set up, one is two set up globally, another is running in specific test only set up globally 1. install library 2. create config file jest-search-config.js all configuration items are optional, but it still requires you to module. exports the function in jest-search-config.js , there aren't any indexes created without passing the indexes configuration, - engine: specify startup search engine platform allowed value: elasticsearch , opensearch , zincsearch default: elasticsearch - version: specify startup search engine version allowed value: check the versions in each platform's release page default: 8.8.2 - port: specify startup search engine port number allowed value: 1024 2147483647 default: 9200 - binaryLocation: use downloaded engine instead default: undefined - clusterName: engine's clusterName default: jest-search-local - nodeName: engine's nodeName default: jest-search-local - indexes: specify the configuration like index name, and mapping of indexes that you want to create during the startup, and indexes will get deleted once test is finished: default: [] - zincAdmin: zincsearch requires pass env ZINC FIRST ADMIN USER when starting zincsearch, default: admin , - zincPassword: : zincsearch requires pass env ZINC FIRST A","default_branch":null,"files":null,"tree":[],"storefront":"/r/geek-fun","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/geek-fun/jest-search/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}