0

I am using elastic-search-mock in my backend for unit test cases but somehow it is giving error. ERROR

Class MockConnection extends Base Connection Typeerror: class extends value undefined is not the constructor or null"

And I wanted to check if this package supports the node version which is installed.

I tried establishing connection taking reference from documentation. DOCUMENTATION

names.com/package/@elastic/elasticsearch-mock?activeTab=readme

Pathum Bandara
  • 343
  • 2
  • 3
  • 12
Aakash
  • 1
  • 2

0 Answers0