Skip to content

Commit

Permalink
Add extra tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CMEONE committed Dec 29, 2021
1 parent d9a45eb commit 444e318
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/random.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
5 changes: 5 additions & 0 deletions test/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 444e318

Please sign in to comment.