[apps/tidep0084.git] / example / iot-gateway / node_modules / aws-iot-device-sdk / node_modules / mqtt / test / util.js
diff --git a/example/iot-gateway/node_modules/aws-iot-device-sdk/node_modules/mqtt/test/util.js b/example/iot-gateway/node_modules/aws-iot-device-sdk/node_modules/mqtt/test/util.js
+++ /dev/null
@@ -1,16 +0,0 @@
-'use strict';
-/*global setImmediate:true*/
-var through = require('through2'),
- setImmediate = global.setImmediate || function (callback) {
- setTimeout(callback, 0);
- };
-
-module.exports.testStream = function () {
- return through(function (buf, enc, cb) {
- var that = this;
- setImmediate(function () {
- that.push(buf);
- cb();
- });
- });
-};