<commit_before>const
  env = require('dotenv'),
  expect = require('chai').expect

const
  Coinpayments = require('../lib');

const
  common = require('./common.js');

env.config();

// process.env.COINPAYMENTS_API_KEY_1 = '<KEY>';
// process.env.COINPAYMENTS_API_SECRET_1 = '9B2C8ebF47Bde255241C331d1D56d47ee1b81048672eDf98B30671dd23fe6f4a';
// process.env.COINPAYMENTS_API_KEY_2 = '21ea8e25f733934be31b743c2beefe528185caef29caf7a6ace50cb92aec4d68';
// process.env.COINPAYMENTS_API_SECRET_2 = '<KEY>';
// process.env.COINPAYMENTS_FIXED_AMOUNT = '0.3';
// process.env.COINPAYMENTS_CURRENCY = 'LTCT';
// process.env.COINPAYMENTS_MERCHANT_ID = '831b8d495071e5b0e1015486f5001150';
// process.env.COINPAYMENTS_MERCHANT_PBNTAG = 'orahkokos';


function runTest(name, path) {
  describe(name, function () {
  	require('./segment/' + path);
  });
}

describe('Coinpayments tests', function() {

	before(function (){
		expect(process.env.COINPAYMENTS_API_KEY_1).to.not.equal(undefined);
		expect(process.env.COINPAYMENTS_API_SECRET_1).to.not.equal(undefined);

		expect(process.env.COINPAYMENTS_API_KEY_2).to.not.equal(undefined);
		expect(process.env.COINPAYMENTS_API_SECRET_2).to.not.equal(undefined);

		expect(process.env.COINPAYMENTS_CURRENCY).to.not.equal(undefined);
		expect(process.env.COINPAYMENTS_FIXED_AMOUNT).to.not.equal(undefined);

    expect(
      process.env.COINPAYMENTS_MERCHANT_PBNTAG || 
      process.env.COINPAYMENTS_MERCHANT_ID<commit_msg>remove env<commit_after>const
  env = require('dotenv'),
  expect = require('chai').expect

const
  Coinpayments = require('../lib');

const
  common = require('./common.js');

env.config();

function runTest(name, path) {
  describe(name, function () {
  	require('./segment/' + path);
  });
}

describe('Coinpayments tests', function() {

	before(function (){
		expect(process.env.COINPAYMENTS_API_KEY_1).to.not.equal(undefined);
		expect(process.env.COINPAYMENTS_API_SECRET_1).to.not.equal(undefined);

		expect(process.env.COINPAYMENTS_API_KEY_2).to.not.equal(undefined);
		expect(process.env.COINPAYMENTS_API_SECRET_2).to.not.equal(undefined);

		expect(process.env.COINPAYMENTS_CURRENCY).to.not.equal(undefined);
		expect(process.env.COINPAYMENTS_FIXED_AMOUNT).to.not.equal(undefined);

    expect(
      process.env.COINPAYMENTS_MERCHANT_PBNTAG || 
      process.env.COINPAYMENTS_MERCHANT_ID
{'fraction_non_alphanumeric': 0.14564755838641189, 'fraction_numerical': 0.04798301486199576, 'mean_word_length': 5.636619718309859, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6293313', 'n_tokens_mistral': 1027, 'n_tokens_neox': 927, 'n_words': 80}