const Birdwatch = require('./../dist/');
const testData = require('./testTweets.json');

const settings = {
	testData:testData,
	logReports: true,
	refreshTime:250
};

 //const bw = new Birdwatch(settings)
	//.feed('test01')
	//.feed('test02', {filterTags:/#1|#2/})
	//.start()
	//.then(function(tweets){
	//	console.log('birdwatch is ready to serve tweets');
	//});

var birdwatch = new Birdwatch({logReports:false, refreshTime:20, port:0})
	.feed('Refugees')
	.feed('UNDP')
	.feed('UNOCHA')
	.feed('NRC_Norway')
	.feed('DRC_uk')
	.feed('OCHA_Syria')
	.feed('UNDP_Africa')
	.feed('BBCWorld', {filterTags: ['humanitarian', 'UN', 'UnitedNations']})
	.start();



@@ -125,27 +125,8 @@
 ta,%0A
-%09logReports: true,%0A
 %09ref
@@ -139,18 +139,15 @@
 me:2
-5
 0%0A%7D;%0A%0A 
-//
 cons
@@ -182,70 +182,31 @@
 s)%0A%09
-//
 .feed('
-test01')%0A%09//.feed('test02', %7BfilterTags:/#1%7C#2/%7D
+birdwatchnpm'
 )%0A%09
-//
 .sta
@@ -215,37 +215,27 @@
 ()%0A%09
-//
 .then(
-function(
 tweets
-)
+ =%3E 
 %7B%0A%09
-//
 %09con
@@ -282,309 +282,31 @@
 eets
-');%0A%09//%7D);%0A%0Avar birdwatch = new Birdwatch(%7BlogReports:false, refreshTime:20, port:0%7D)%0A%09.feed('Refugees')%0A%09.feed('UNDP')%0A%09.feed('UNOCHA')%0A%09.feed('NRC_Norway')%0A%09.feed('DRC_uk')%0A%09.feed('OCHA_Syria')%0A%09.feed('UNDP_Africa')%0A%09.feed('BBCWorld', %7BfilterTags: %5B'humanitarian', 'UN', 'UnitedNations'%5D%7D)%0A%09.start(
+: ', tweets.length);%0A%09%7D
 );%0A%0A
-%0A

update test app