This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use GuzzleHttp\Client as HttpClient; | |
use GuzzleHttp\Middleware; | |
use Psr\Http\Message\RequestInterface; | |
class TwitterGnipClient | |
{ | |
const RULES_ENDPOINT = 'https://api.gnip.com...'; | |
const STREAM_ENDPOINT = 'https://stream.gnip.com...'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const fs = require('fs'); | |
const path = require('path'); | |
const Mocha = require('mocha'); | |
const uuidv1 = require('uuid/v1'); | |
class MochaRunner { | |
/** | |
* @param {Object} options |