|
|
@ -1,7 +1,7 @@
|
|
|
|
var sys = require('sys'),
|
|
|
|
var sys = require('sys'),
|
|
|
|
colors = require('colors'),
|
|
|
|
colors = require('colors'),
|
|
|
|
Client = require('../lib/xmpp-client').Client,
|
|
|
|
Client = require('../lib/xmpp-client').Client,
|
|
|
|
JID = require('xmpp').JID,
|
|
|
|
JID = require('node-xmpp').JID,
|
|
|
|
conf = require('./conf').conf;
|
|
|
|
conf = require('./conf').conf;
|
|
|
|
|
|
|
|
|
|
|
|
exports.testJid = function(test) {
|
|
|
|
exports.testJid = function(test) {
|
|
|
@ -95,4 +95,4 @@ exports.testPubSub = function(test) {
|
|
|
|
if(module.id == '.') {
|
|
|
|
if(module.id == '.') {
|
|
|
|
var testrunner = require('nodeunit').testrunner;
|
|
|
|
var testrunner = require('nodeunit').testrunner;
|
|
|
|
testrunner.run([__filename]);
|
|
|
|
testrunner.run([__filename]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|