Add cross origin test cases

This commit is contained in:
Alex Dima 2016-06-24 12:06:32 +02:00
parent 0abdd95fe1
commit e61cf2c079
9 changed files with 102 additions and 18 deletions

View file

@ -6,6 +6,7 @@ var path = require('path');
var fs = require('fs');
var rimraf = require('rimraf');
var cp = require('child_process');
var httpServer = require('http-server');
var SAMPLES_MDOC_PATH = path.join(__dirname, 'website/playground/playground.mdoc');
var WEBSITE_GENERATED_PATH = path.join(__dirname, 'website/playground/samples');
@ -339,4 +340,10 @@ gulp.task('website', ['clean-website', 'playground-samples'], function() {
}))
);
});
});
gulp.task('simpleserver', function(cb) {
httpServer.createServer({ root: '../' }).listen(8080);
httpServer.createServer({ root: '../' }).listen(8088);
console.log('LISTENING on 8080 and 8088');
});