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:
parent
17bdfd904a
commit
9294981d71
1 changed files with 3 additions and 1 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Reference in a new issue