0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

fix tests for 0.10

This commit is contained in:
Alex Kocharin 2015-04-11 20:14:49 +03:00
parent 17bdfd904a
commit 9294981d71

View file

@ -1,8 +1,10 @@
var assert = require('assert')
var request = require('request')
var sym = Symbol('smart_request_data')
var Promise = require('bluebird')
var sym = typeof Symbol !== 'undefined'
? Symbol('smart_request_data')
: '__why_does_node_0.10_support_suck_so_much'
function smart_request(options) {
var self = {}