]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Compile CSS and JavaScript before running JS unit tests
authorGeoff Kimball <geoff@zurb.com>
Wed, 2 Mar 2016 02:14:34 +0000 (18:14 -0800)
committerGeoff Kimball <geoff@zurb.com>
Wed, 2 Mar 2016 02:14:34 +0000 (18:14 -0800)
package.json

index 194d281a4f18e547595af91670e4fea9a7530382..2c92e16ad425996eff468bf3e266d7261dd73618 100644 (file)
@@ -9,7 +9,7 @@
     "start": "gulp",
     "test": "npm run test:sass && npm run test:javascript",
     "test:sass": "mocha test/sass/test_sass.js",
-    "test:javascript": "mocha-phantomjs test/javascript/index.html",
+    "test:javascript": "gulp sass:foundation && gulp javascript:foundation && mocha-phantomjs test/javascript/index.html",
     "test:visual": "gulp test",
     "deploy": "gulp deploy",
     "deploy:docs": "gulp deploy:docs"