From 0e59873873b2d7cac324dd814e5277611b86b1de Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Thu, 18 Feb 2016 14:32:28 +0100 Subject: [PATCH] SONAR-7365 add tests --- .../tests/components/source-viewer-test.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/server/sonar-web/tests/components/source-viewer-test.js b/server/sonar-web/tests/components/source-viewer-test.js index abdad6bcaef..1a8219e6032 100644 --- a/server/sonar-web/tests/components/source-viewer-test.js +++ b/server/sonar-web/tests/components/source-viewer-test.js @@ -71,6 +71,20 @@ describe('Source Viewer', function () { result = helper(code, []); expect(result).to.equal('#include <stdio.h>'); }); + + // TODO SONAR-7365 + it.skip('should parse syntax and usage highlighting', function () { + var code = 'this', + result = helper(code, []); + expect(result).to.equal(code); + }); + + // TODO SONAR-7365 + it.skip('should parse nested tags', function () { + var code = 'this is', + result = helper(code, []); + expect(result).to.equal(code); + }); }); }); -- 2.39.5