Skip to content

Commit

Permalink
test: remove missing getRandomValues test (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU authored Apr 19, 2023
1 parent 6eef540 commit 4de23a6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/unit/rng.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import assert from 'assert';
import rng from '../../src/rng.js';
import rngBrowser from '../../src/rng-browser.js';

describe('rng', () => {
test('Node.js RNG', () => {
Expand All @@ -12,12 +11,6 @@ describe('rng', () => {
}
});

test('Browser without crypto.getRandomValues()', () => {
assert.throws(() => {
rngBrowser();
});
});

// Test of whatwgRNG missing for now since with esmodules we can no longer manipulate the
// require.cache.
});

0 comments on commit 4de23a6

Please sign in to comment.