Support annotation tooltips in table view for multiple values
Change-Id: Ib314e3cf890fe9e359914df47b0826a369e0dfe2
diff --git a/dev/js/spec/matchSpec.js b/dev/js/spec/matchSpec.js
index 806aee8..ccf32de 100644
--- a/dev/js/spec/matchSpec.js
+++ b/dev/js/spec/matchSpec.js
@@ -167,7 +167,7 @@
return me.firstChild;
};
-define(['match'], function () {
+define(['match', 'hint/foundries/cnx', 'hint/foundries/mate'], function () {
// Override getMatchInfo API call
KorAP.API.getMatchInfo = function (x, param, cb) {
@@ -555,6 +555,10 @@
expect(tr.children[3].firstChild.nodeValue).toEqual('A');
expect(tr.children[4].firstChild.firstChild.nodeValue).toEqual('A');
expect(tr.children[4].lastChild.firstChild.nodeValue).toEqual('ADJA');
+
+ expect(tr.children[4].firstChild.getAttribute("title")).toEqual('Adjective');
+ expect(tr.children[2].getAttribute("title")).toEqual('Adverb');
+
});
});