UNPKG
chacha8-js
Version:
latest (0.9.3)
0.9.3
0.9.1
0.9.0
A pure javascript ChaCha8 cipher implementation
github.com/XzenTorXz/chacha8-js
XzenTorXz/chacha8-js
chacha8-js
/
test-setup.spec.js
10 lines
(8 loc)
•
190 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
sinon =
require
(
'sinon'
)
const
chai =
require
(
'chai'
)
beforeEach
(
function
(
) {
this
.
sandbox
= sinon.
sandbox
.
create
() })
afterEach
(
function
(
) {
this
.
sandbox
.
restore
() })