diff --git a/.travis.yml b/.travis.yml index aed9f605..2bc4f39c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,4 +2,3 @@ language: node_js node_js: - 10 - 12 - - 13 diff --git a/lib/file.js b/lib/file.js index 2e0564d0..983e57fa 100644 --- a/lib/file.js +++ b/lib/file.js @@ -1,5 +1,3 @@ -if (global.GENTLY) require = GENTLY.hijack(require); - var util = require('util'), fs = require('fs'), EventEmitter = require('events').EventEmitter, diff --git a/lib/incoming_form.js b/lib/incoming_form.js index af7e5ce0..cd8c0deb 100644 --- a/lib/incoming_form.js +++ b/lib/incoming_form.js @@ -1,5 +1,3 @@ -if (global.GENTLY) require = GENTLY.hijack(require); - var crypto = require('crypto'); var fs = require('fs'); var util = require('util'), diff --git a/lib/json_parser.js b/lib/json_parser.js index ce16f971..8bbb2379 100644 --- a/lib/json_parser.js +++ b/lib/json_parser.js @@ -1,5 +1,3 @@ -if (global.GENTLY) require = GENTLY.hijack(require); - function JSONParser(parent) { this.parent = parent; this.chunks = []; diff --git a/lib/querystring_parser.js b/lib/querystring_parser.js index fcaffe0a..69440017 100644 --- a/lib/querystring_parser.js +++ b/lib/querystring_parser.js @@ -1,5 +1,3 @@ -if (global.GENTLY) require = GENTLY.hijack(require); - // This is a buffering parser, not quite as nice as the multipart one. // If I find time I'll rewrite this to be fully streaming as well var querystring = require('querystring'); diff --git a/package.json b/package.json index 7f0b0b9d..2c44674b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,6 @@ "license": "MIT", "version": "1.2.1", "devDependencies": { - "gently": "^0.8.0", "findit": "^0.1.2", "hashish": "^0.0.4", "urun": "^0.0.6", diff --git a/test-legacy/.DS_Store b/test-legacy/.DS_Store new file mode 100644 index 00000000..450b0bcd Binary files /dev/null and b/test-legacy/.DS_Store differ diff --git a/test-legacy/README.md b/test-legacy/README.md new file mode 100644 index 00000000..50d29897 --- /dev/null +++ b/test-legacy/README.md @@ -0,0 +1,3 @@ + +These tests were deleted due to failures when removing the gently lib. +previously in `test/legacy` \ No newline at end of file diff --git a/test/legacy/common.js b/test-legacy/common.js similarity index 77% rename from test/legacy/common.js rename to test-legacy/common.js index 2b985981..e0830490 100644 --- a/test/legacy/common.js +++ b/test-legacy/common.js @@ -1,16 +1,8 @@ var path = require('path'), fs = require('fs'); -try { - global.Gently = require('gently'); -} catch (e) { - throw new Error('this test suite requires node-gently'); -} - exports.lib = path.join(__dirname, '../../lib'); -global.GENTLY = new Gently(); - global.assert = require('assert'); global.TEST_PORT = 13532; global.TEST_FIXTURES = path.join(__dirname, '../fixture'); diff --git a/test/legacy/integration/test-multipart-parser.js b/test-legacy/integration/test-multipart-parser.js similarity index 100% rename from test/legacy/integration/test-multipart-parser.js rename to test-legacy/integration/test-multipart-parser.js diff --git a/test/legacy/simple/test-file.js b/test-legacy/simple/test-file.js similarity index 100% rename from test/legacy/simple/test-file.js rename to test-legacy/simple/test-file.js diff --git a/test/legacy/simple/test-incoming-form.js b/test-legacy/simple/test-incoming-form.js similarity index 100% rename from test/legacy/simple/test-incoming-form.js rename to test-legacy/simple/test-incoming-form.js diff --git a/test/legacy/simple/test-multipart-parser.js b/test-legacy/simple/test-multipart-parser.js similarity index 100% rename from test/legacy/simple/test-multipart-parser.js rename to test-legacy/simple/test-multipart-parser.js diff --git a/test/legacy/simple/test-querystring-parser.js b/test-legacy/simple/test-querystring-parser.js similarity index 100% rename from test/legacy/simple/test-querystring-parser.js rename to test-legacy/simple/test-querystring-parser.js diff --git a/test/legacy/system/test-multi-video-upload.js b/test-legacy/system/test-multi-video-upload.js similarity index 100% rename from test/legacy/system/test-multi-video-upload.js rename to test-legacy/system/test-multi-video-upload.js