We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eef540 commit 4de23a6Copy full SHA for 4de23a6
1 file changed
test/unit/rng.test.js
@@ -1,6 +1,5 @@
1
import assert from 'assert';
2
import rng from '../../src/rng.js';
3
-import rngBrowser from '../../src/rng-browser.js';
4
5
describe('rng', () => {
6
test('Node.js RNG', () => {
@@ -12,12 +11,6 @@ describe('rng', () => {
12
11
}
13
});
14
15
- test('Browser without crypto.getRandomValues()', () => {
16
- assert.throws(() => {
17
- rngBrowser();
18
- });
19
20
-
21
// Test of whatwgRNG missing for now since with esmodules we can no longer manipulate the
22
// require.cache.
23
0 commit comments