Repository: ignite
Updated Branches:
  refs/heads/master f69f21d0e -> b3f912ffe


Minor fix for tests.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/b3f912ff
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/b3f912ff
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/b3f912ff

Branch: refs/heads/master
Commit: b3f912ffe1434ca2e76c03ee34f2724bd96b4147
Parents: f69f21d
Author: Alexey Kuznetsov <[email protected]>
Authored: Thu Apr 26 09:05:52 2018 +0700
Committer: Alexey Kuznetsov <[email protected]>
Committed: Thu Apr 26 09:05:52 2018 +0700

----------------------------------------------------------------------
 .../web-console/frontend/app/directives/match.directive.spec.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/b3f912ff/modules/web-console/frontend/app/directives/match.directive.spec.js
----------------------------------------------------------------------
diff --git 
a/modules/web-console/frontend/app/directives/match.directive.spec.js 
b/modules/web-console/frontend/app/directives/match.directive.spec.js
index 2a00b03..c274585 100644
--- a/modules/web-console/frontend/app/directives/match.directive.spec.js
+++ b/modules/web-console/frontend/app/directives/match.directive.spec.js
@@ -56,7 +56,10 @@ suite('ignite-match', () => {
         $compile(el)($scope);
         $scope.$digest();
 
-        const [master, , slave] = el;
+        // const [master, , slave] = el;
+        // For some reason, this code not work after Babel, replaced with 
'old' syntax.
+        const master = el[0];
+        const slave = el[2];
 
         setValue(slave, '123');
         $scope.$digest();

Reply via email to