# HG changeset patch # User Laman # Date 2019-07-05 19:20:40 # Node ID 11975fd44f9382b9d4d7a2dbd52fa330ea8ebbda # Parent 12f10d9d594833d183bf52915a5d8d899acce777 tests: mocked window.crypto.getRandomValues() diff --git a/spec/test/chachaSpec.js b/spec/test/chachaSpec.js --- a/spec/test/chachaSpec.js +++ b/spec/test/chachaSpec.js @@ -1,5 +1,17 @@ /* global expect */ +function getRandomValues(arr){ + for(let i=0;i