From 444e318f89d1486503d493b6f4ee3d96c247d237 Mon Sep 17 00:00:00 2001 From: CMEONE Date: Wed, 29 Dec 2021 18:46:18 -0300 Subject: [PATCH] Add extra tests --- test/random.js | 5 +++++ test/util.js | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/test/random.js b/test/random.js index 6ed9661a..78c91490 100644 --- a/test/random.js +++ b/test/random.js @@ -5,6 +5,11 @@ const envoy = new tEnvoy(); describe("Random Tests", function() { let i = 0; + i++; + it(`${i}: random - exists`, function() { + assert.notEqual(envoy.random, null); + }); + i++; it(`${i}: random.bytes - exists`, function() { assert.notEqual(envoy.random.bytes, null); diff --git a/test/util.js b/test/util.js index bfaf262f..ed7e4528 100644 --- a/test/util.js +++ b/test/util.js @@ -5,6 +5,11 @@ const envoy = new tEnvoy(); describe("Utility Tests", function() { let i = 0; + i++; + it(`${i}: util - exists`, function() { + assert.notEqual(envoy.util, null); + }); + i++; it(`${i}: util.utf8encode - exists`, function() { assert.notEqual(envoy.util.utf8encode, null);