Spring + JAWR + Ext3 Java Web Sample Project
The focus point is: Providing a way to show: how to write graceful javascript unittest in server render template engine.
<script>
tags to include those bundles. This make it difficult to get the correct dependencies JS files.locale.namesapce.field.a()
). We need to construct this object when running test cases otherwise a lot of code will throw exception.
mvn install && npm install
You can deploy you war file in target/karma-jawr.war
to your webapp container.(Tomcat, JBoss, Weblogic…)
npm install
For China User, since puppeteer v0.13.0
support CHROMIUM binary download mirror.
Please export environment variables PUPPETEER_DOWNLOAD_HOST=https://npm.taobao.org/mirrors
before npm install
For Windows Run
SET PUPPETEER_DOWNLOAD_HOST=https://npm.taobao.org/mirrors
Since 2018-03-13 cnpmjs.org network issue, found another mirror on taobao.org
So you can also use this https://npm.taobao.org/mirrors
For Unix Run
export PUPPETEER_DOWNLOAD_HOST=https://npm.taobao.org/mirrors
npm test