<div dir="ltr"><div>Hello,<br><br></div>as discussed in irc, the karma tests are failing<br><div><br><a href="http://buildbot.sugarlabs.org/builders/quick/builds/80/steps/shell_2/logs/modules">http://buildbot.sugarlabs.org/builders/quick/builds/80/steps/shell_2/logs/modules</a><br>
<br></div><div>The following fixes it for me<br></div><div><br>diff --git a/test/karma.conf.js b/test/karma.conf.js<br>index f8fb3cc..7d48693 100644<br>--- a/test/karma.conf.js<br>+++ b/test/karma.conf.js<br>@@ -19,6 +19,9 @@ files = [<br>
pattern: 'lib/**/*.js',<br> included: false<br> }, {<br>+ pattern: 'graphics/*.html',<br>+ included: false <br>+ }, {<br> pattern: '**/*js',<br> exclude: 'test/**/*js',<br>
included: false<br>diff --git a/test/loader.js b/test/loader.js<br>index a6019bf..7c83cc9 100644<br>--- a/test/loader.js<br>+++ b/test/loader.js<br>@@ -8,7 +8,8 @@ requirejs.config({<br> <br> paths: {<br> "sugar-web": ".",<br>
- "mustache": "lib/mustache"<br>+ "mustache": "lib/mustache",<br>+ "text": "lib/text"<br> },<br> <br> // ask Require.js to load these files (all our tests)<br>
<br clear="all"><div><div><br></div><div>After that we run into another issue, js-beautify doesn't like menupalette.html. I tend to think the templates should not be run through js-beautify, they are not pure html... What about just renaming to .mustache? I was actually uncertain if I should suggest that during the review, maybe this is a good reason to do it.<br>
</div><div><br>-- <br>Daniel Narvaez<br>
</div></div></div></div>