Files
elasticsearch-js/test/unit/esm/index.mjs
Tomas Della Vedova d16781e379 ESM support (#1235)
2020-06-26 11:57:43 +02:00

9 lines
221 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.strictEqual(client.name, 'elasticsearch-js')
})