From 67c0cb2e6d8ebe04dd6583ba8ea72e348e99f3a3 Mon Sep 17 00:00:00 2001 From: Otto Allmendinger Date: Wed, 8 Jan 2020 17:13:28 +0100 Subject: [PATCH] test/forks: rename tests Just like the regular bitcoinjs-lib tests have `bitcoin` and `testnet` networks in the same test files, we should group `$forkCoin` and `$forkCoinTest` under the mainnet name. Rename `btg` to the network name `bitcoingold`. --- test/fixtures/forks/{dashTest => dash}/transaction.json | 0 test/fixtures/forks/{zcashTest => zcash}/transaction.json | 0 test/forks/{btg => bitcoingold}/transaction_builder.js | 0 test/forks/{dashTest => dash}/transaction.js | 2 +- test/forks/{zcashTest => zcash}/transaction.js | 2 +- 5 files changed, 2 insertions(+), 2 deletions(-) rename test/fixtures/forks/{dashTest => dash}/transaction.json (100%) rename test/fixtures/forks/{zcashTest => zcash}/transaction.json (100%) rename test/forks/{btg => bitcoingold}/transaction_builder.js (100%) rename test/forks/{dashTest => dash}/transaction.js (96%) rename test/forks/{zcashTest => zcash}/transaction.js (98%) diff --git a/test/fixtures/forks/dashTest/transaction.json b/test/fixtures/forks/dash/transaction.json similarity index 100% rename from test/fixtures/forks/dashTest/transaction.json rename to test/fixtures/forks/dash/transaction.json diff --git a/test/fixtures/forks/zcashTest/transaction.json b/test/fixtures/forks/zcash/transaction.json similarity index 100% rename from test/fixtures/forks/zcashTest/transaction.json rename to test/fixtures/forks/zcash/transaction.json diff --git a/test/forks/btg/transaction_builder.js b/test/forks/bitcoingold/transaction_builder.js similarity index 100% rename from test/forks/btg/transaction_builder.js rename to test/forks/bitcoingold/transaction_builder.js diff --git a/test/forks/dashTest/transaction.js b/test/forks/dash/transaction.js similarity index 96% rename from test/forks/dashTest/transaction.js rename to test/forks/dash/transaction.js index 4a2c9a94..2e364bf6 100644 --- a/test/forks/dashTest/transaction.js +++ b/test/forks/dash/transaction.js @@ -7,7 +7,7 @@ const { Transaction } = require('../../../src') -var fixtures = require('../../fixtures/forks/dashTest/transaction') +var fixtures = require('../../fixtures/forks/dash/transaction') describe('Transaction', function () { describe('fromBuffer/fromHex for Testnet Dash', function () { diff --git a/test/forks/zcashTest/transaction.js b/test/forks/zcash/transaction.js similarity index 98% rename from test/forks/zcashTest/transaction.js rename to test/forks/zcash/transaction.js index 96ec69dc..f5ef2dd4 100644 --- a/test/forks/zcashTest/transaction.js +++ b/test/forks/zcash/transaction.js @@ -7,7 +7,7 @@ const { Transaction } = require('../../../src') -const fixtures = require('../../fixtures/forks/zcashTest/transaction') +const fixtures = require('../../fixtures/forks/zcash/transaction') describe('Transaction (ZEC)', function () { describe('fromBuffer/fromHex', function () {