1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00

removed dependency from resnap in tests

This commit is contained in:
Massimo Candela
2019-12-12 12:44:50 +01:00
parent 81787c92f1
commit 3563ad25fb
6 changed files with 0 additions and 22 deletions

View File

@@ -35,7 +35,6 @@ var chaiSubset = require('chai-subset');
var readLastLines = require('read-last-lines');
var moment = require('moment');
var model = require('../src/model');
const resetCache = require('resnap')();
chai.use(chaiSubset);
var expect = chai.expect;
var AS = model.AS;
@@ -49,7 +48,6 @@ describe("Composition", function() {
describe("Software updates check", function () {
it("new version detected", function (done) {
beforeEach(resetCache);
var worker = require("../index");
var pubSub = worker.pubSub;
@@ -61,7 +59,6 @@ describe("Composition", function() {
});
describe("Configuration loader", function () {
beforeEach(resetCache);
var worker = require("../index");
var config = worker.config;
@@ -173,8 +170,6 @@ describe("Composition", function() {
});
describe("Input loader", function () {
beforeEach(resetCache);
var worker = require("../index");
var input = worker.input;
@@ -283,8 +278,6 @@ describe("Composition", function() {
});
describe("Logging", function () {
beforeEach(resetCache);
var worker = require("../index");
var config = worker.config;
var logger = worker.logger;