Skip to content

Instantly share code, notes, and snippets.

View yaacovCR's full-sized avatar
💭
looking for sponsors

Yaacov Rydzinski yaacovCR

💭
looking for sponsors
View GitHub Profile
@yaacovCR
yaacovCR / example-route.spec.js
Created January 14, 2016 14:48
Gulp: one way to close connections properly with gulp, jasmine-node and request
/*global describe:false, it:false, expect:false*/
var request = require('request');
var app = require('../app');
var server = require('http').createServer(app);
var baseUrl = 'http://127.0.0.1:3000/example-route';
describe('example-route', function() {