Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Remove file
Browse files Browse the repository at this point in the history
  • Loading branch information
diego-G committed Oct 5, 2017
1 parent 4dcf00e commit 6b0ea99
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 108 deletions.
24 changes: 15 additions & 9 deletions test/unit/logic/transactionPool.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,21 @@ var async = require('async');
var expect = require('chai').expect;
var sinon = require('sinon');

var node = require('../../node');
var node = require('../../../node');

var TransactionPool = require('../../../logic/transactionPool');
var TransactionLogic = require('../../../logic/transaction');
var TransferLogic = require('../../../logic/transfer');
var modulesLoader = require('../../common/initModule').modulesLoader;
var transactionTypes = require('../../../helpers/transactionTypes');
var jobsQueue = require('../../../../helpers/jobsQueue');
var TransactionPool = require('../../../../logic/transactionPool');
var TransactionLogic = require('../../../../logic/transaction');
var TransferLogic = require('../../../../logic/transfer');
var modulesLoader = require('../../../common/initModule').modulesLoader;
var transactionTypes = require('../../../../helpers/transactionTypes');

describe('txPool', function () {

var txPool;

before(function (done) {
jobsQueue.jobs = {};
// Init transaction logic
modulesLoader.initLogic(TransactionLogic, modulesLoader.scope, function (err, __trsLogic) {
expect(err).to.not.exist;
Expand All @@ -30,10 +32,10 @@ describe('txPool', function () {
);

modulesLoader.initModules([
{accounts: require('../../../modules/accounts')},
{accounts: require('../../../../modules/accounts')},
], [
{'transaction': require('../../../logic/transaction')},
{'account': require('../../../logic/account')}
{'transaction': require('../../../../logic/transaction')},
{'account': require('../../../../logic/account')}
], {}, function (err, __modules) {
expect(err).to.not.exist;

Expand All @@ -48,6 +50,10 @@ describe('txPool', function () {
});
});

after(function () {
jobsQueue.jobs = {};
});

describe('receiveTransactions', function () {

it('should return empty array when using empty array', function (done) {
Expand Down
99 changes: 0 additions & 99 deletions test/unit/logic/transactions/pool.js

This file was deleted.

0 comments on commit 6b0ea99

Please sign in to comment.