Files
elasticsearch-js/test/unit/esm/index.mjs
2021-05-20 16:18:01 +02:00

9 lines
215 B
JavaScript

import t from 'tap'
import { Client } from '../../../index.mjs'
t.test('esm support', t => {
t.plan(1)
const client = new Client({ node: 'http://localhost:9200' })
t.equal(client.name, 'elasticsearch-js')
})