File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1+ // Licensed to Elasticsearch B.V under one or more agreements.
2+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+ // See the LICENSE file in the project root for more information
4+
15'use strict'
26
37const { Client } = require ( '@elastic/elasticsearch' )
Original file line number Diff line number Diff line change 1+ // Licensed to Elasticsearch B.V under one or more agreements.
2+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+ // See the LICENSE file in the project root for more information
4+
15'use strict'
26
37const { gunzip, createGunzip } = require ( 'zlib' )
@@ -8,15 +12,6 @@ const intoStream = require('into-stream')
812const equal = require ( 'fast-deep-equal' )
913const kRouter = Symbol ( 'elasticsearch-mock-router' )
1014
11- /*
12- * Backlog:
13- * - should we provide a default mock for known routes? eg sniff
14- * - support array definitions
15- * eg: add({ method: ['GET', 'POST'], path: ['/1', '/2'] })
16- * - High level API, instead of mocking the http query,
17- * mock the method instead. eg: mock.add({ api: 'indices.delete' })
18- */
19-
2015/* istanbul ignore next */
2116const noop = ( ) => { }
2217const {
Original file line number Diff line number Diff line change 1+ // Licensed to Elasticsearch B.V under one or more agreements.
2+ // Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3+ // See the LICENSE file in the project root for more information
4+
15'use strict'
26
37const test = require ( 'ava' )
You can’t perform that action at this time.
0 commit comments