]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixed visual tests for Windows.
authorColin Marshall <colin.michael.marshall@gmail.com>
Sat, 7 May 2016 20:25:47 +0000 (14:25 -0600)
committerColin Marshall <colin.michael.marshall@gmail.com>
Sat, 7 May 2016 20:25:47 +0000 (14:25 -0600)
gulp/test.js
test/visual/assets [deleted symlink]

index 632f5c702b684e8d15b9d8bab913de4f22087e00..35207424606ed9a576cea74405d144ecca4aa238 100644 (file)
@@ -15,8 +15,13 @@ var JSTESTS = [
 // Runs unit tests
 gulp.task('test', ['sass:foundation', 'test:transpile-js', 'watch'], function() {
   browser.init({
-    server: 'test/visual',
-    directory: true
+    server: { 
+      baseDir: 'test/visual',
+      directory: true,
+      routes: {
+        "/assets": "_build/assets"
+      }
+    }
   });
   gulp.watch(['test/visual/**/*'], ['test:reload']);
 });
diff --git a/test/visual/assets b/test/visual/assets
deleted file mode 120000 (symlink)
index ec42df9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../_build/assets/
\ No newline at end of file