geek-fun / jest-search Goto Github PK
View Code? Open in Web Editor NEWJest preset for running tests with local ElasticSearch, OpenSearch and ZincSearch.
Home Page: https://www.npmjs.com/package/@geek-fun/jest-search
License: MIT License
Jest preset for running tests with local ElasticSearch, OpenSearch and ZincSearch.
Home Page: https://www.npmjs.com/package/@geek-fun/jest-search
License: MIT License
Update repo includes
jest-search checking platform uname: Darwin arm64 +0ms
jest-search checking if binary exists: /app/node_modules/.cache/jest-search/elasticsearch-8.8.2 +1ms
jest-search downloading binary, url: https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.8.2-darwin-arm64.tar.gz, path: /app/node_modules/.cache/jest-search/elasticsearch-8.8.2 +0ms
jest-search Downloaded /app/node_modules/.cache/jest-search/elasticsearch-8.8.2 +336ms
jest-search Starting elasticsearch 8.8.2, /app/node_modules/.cache/jest-search/elasticsearch-8.8.2 +1ms
jest-search checking the local elasticsearch:9600 startup: 30 +13ms
jest-search failed to start engine emit error: {"errno":-2,"code":"ENOENT","syscall":"spawn /app/node_modules/.cache/jest-search/elasticsearch-8.8.2/bin/elasticsearch","path":"/app/node_modules/.cache/jest-search/elasticsearch-8.8.2/bin/elasticsearch","spawnargs":["-p","/app/node_modules/.cache/jest-search/elasticsearch-8.8.2/server-pid","-Ecluster.name=jest-search-local","-Enode.name=jest-search-local","-Ehttp.port=9600","-Expack.security.enabled=false"]} +0ms
/app/node_modules/@geek-fun/jest-search/dist/src/engine.js:61
throw new Error('failed to start engine emit error');
const { startEngine, stopEngine } = require('@geek-fun/jest-search');
startEngine for global setup
stopEngine for global teardown
const esSearchConfig = {
engine: 'elasticsearch', // or 'opensearch' or 'zincsearch'
version: '8.8.2',
port: 9600,
clusterName: 'jest-search-local',
nodeName: 'jest-search-local',
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.