Skip to content

Instantly share code, notes, and snippets.

View ChrisAlderson's full-sized avatar

Chris Alderson ChrisAlderson

View GitHub Profile
'use strict';
const app = require('../app')
// winston@3.x.x
const LegacyTransport = require('winston-transport/legacy')
const request = require('supertest')
const sinon = require('sinon')
const spyLogger = require('winston-spy')
const winston = require('winston')
const { expect } = require('chai')
duplicated:
- https://github.com/winstonjs/winston/issues/1098
- https://github.com/winstonjs/winston/issues/1180
- https://github.com/winstonjs/winston/issues/1260
- https://github.com/winstonjs/winston/issues/1105
- https://github.com/winstonjs/winston/issues/1218
- https://github.com/winstonjs/winston/issues/1107
- https://github.com/winstonjs/winston/issues/1125
/*
* file-test.js: Tests for instances of the File transport
*
* (C) 2010 Charlie Robbins
* MIT LICENSE
*
*/
const exec = require('child_process').exec;
const fs = require('fs');
const path = require('path');
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="ettv torrent, ettv download, ettv torrent download, bittorrent, torrent, torrents, movies, music, games, software, download, upload, porn torrents, music torrents, movies torrents, games torrents, software torrents, iPod torrents, anime torrents, torrent search, bittorrent search, upload torrents, download torrents" />
<meta name="description" content="Search for ettv torrents. Page 1. ExtraTorrent.cc" />
<meta name="robots" content="all" />
<link rel="shortcut icon" type="image/ico" href="/images/favicon.ico" />
<link type="application/opensearchdescription+xml" title="ExtraTorrent.cc Search" href="/opensearch.xml" rel="search" />
<meta name="verify-v1" content="9BMORdF/gLH0rZ4tcXFDfY4DrhzwzN3+oQsgI03Hgys=" />
import asyncq from "async-q";
import parseTorrent from "parse-torrent";
import readTorrent from "read-torrent";
import torrentHealth from "torrent-tracker-health";
import Movie from "./models/Movie";
import Setup from "./config/setup";
import Show from "./models/Show";
Setup.connectMongoDB();