diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 46b463ad6..a340c735d 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -2,5 +2,4 @@ extends: "@elastic/eslint-config-kibana" rules: - no-restricted-globals: warn prefer-const: warn \ No newline at end of file diff --git a/test/unit/specs/nodes_to_host_callback.js b/test/unit/specs/nodes_to_host_callback.js index 10bfa79e5..cf4c1d200 100644 --- a/test/unit/specs/nodes_to_host_callback.js +++ b/test/unit/specs/nodes_to_host_callback.js @@ -7,7 +7,7 @@ describe('Nodes to host callback', function () { const nodes20 = require('../../fixtures/short_node_list.2.0.json'); const nodes50 = require('../../fixtures/short_node_list.5.0.json'); - context('0.x style', function () { + describe('0.x style', function () { it('properly creates host objects', function () { expect(callback(nodes90)).to.eql([ { @@ -32,7 +32,7 @@ describe('Nodes to host callback', function () { }); }); - context('1.0 nodes style', function () { + describe('1.0 nodes style', function () { it('properly creates host objects', function () { expect(callback(nodes10)).to.eql([ { @@ -57,7 +57,7 @@ describe('Nodes to host callback', function () { }); }); - context('2.0 nodes style', function () { + describe('2.0 nodes style', function () { it('properly creates host objects', function () { expect(callback(nodes20)).to.eql([ { @@ -82,7 +82,7 @@ describe('Nodes to host callback', function () { }); }); - context('5.0 nodes style', function () { + describe('5.0 nodes style', function () { it('properly creates host objects', function () { expect(callback(nodes50)).to.eql([ {