IGNITE-9569 Web Console: Fixed broken unit test.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/9ab8ebd7 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/9ab8ebd7 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/9ab8ebd7 Branch: refs/heads/ignite-5797 Commit: 9ab8ebd7adaa70548ba013f4d8c7de05ba48312f Parents: 2f3b567 Author: Ilya Borisov <klast...@gmail.com> Authored: Mon Oct 1 10:45:40 2018 +0700 Committer: Alexey Kuznetsov <akuznet...@apache.org> Committed: Mon Oct 1 10:45:40 2018 +0700 ---------------------------------------------------------------------- modules/web-console/frontend/test/unit/defaultName.filter.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/9ab8ebd7/modules/web-console/frontend/test/unit/defaultName.filter.test.js ---------------------------------------------------------------------- diff --git a/modules/web-console/frontend/test/unit/defaultName.filter.test.js b/modules/web-console/frontend/test/unit/defaultName.filter.test.js index 2eaf223..7ecbd6f 100644 --- a/modules/web-console/frontend/test/unit/defaultName.filter.test.js +++ b/modules/web-console/frontend/test/unit/defaultName.filter.test.js @@ -17,10 +17,9 @@ import defaultName from '../../app/filters/default-name.filter'; -import { suite, test } from 'mocha'; import { assert } from 'chai'; -const instance = defaultName[0](); +const instance = defaultName(); suite('defaultName', () => { test('defaultName filter', () => {