Skip to content

Commit 4de23a6

Browse files
authored
test: remove missing getRandomValues test (#709)
1 parent 6eef540 commit 4de23a6

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

test/unit/rng.test.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import assert from 'assert';
22
import rng from '../../src/rng.js';
3-
import rngBrowser from '../../src/rng-browser.js';
43

54
describe('rng', () => {
65
test('Node.js RNG', () => {
@@ -12,12 +11,6 @@ describe('rng', () => {
1211
}
1312
});
1413

15-
test('Browser without crypto.getRandomValues()', () => {
16-
assert.throws(() => {
17-
rngBrowser();
18-
});
19-
});
20-
2114
// Test of whatwgRNG missing for now since with esmodules we can no longer manipulate the
2215
// require.cache.
2316
});

0 commit comments

Comments
 (0)