Skip to content

ppsreejith/elasticsearch-mock-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elasticsearch-mock-js

An npm module to quickly spin up and tear down an elasticsearch server for testing purposes. This module exposes two methods: start and stop. start starts an elasticsearch server after clearing all old data. stop kills it.

Usage

const ES = require('elasticsearch-mock-js');

ES.start(() => {
  console.log('Started');
  ES.stop(() => {
    console.log('Stopped');
  });
});

About

A module to quickly spin up and tear down an elasticsearch server for testing purposes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published