UNPKG
@buttercup/credentials
Version:
latest (2.0.0)
2.0.0
1.2.0
1.1.1
1.1.0
1.0.0
Encrypted credentials handler for Buttercup
github.com/buttercup/credentials
buttercup/credentials
@buttercup/credentials
/
test
/
unit
/
index.js
12 lines
(9 loc)
•
285 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
const
{ expect } =
require
(
"chai"
);
const
sinon =
require
(
"sinon"
);
require
(
"@buttercup/app-env/native"
);
const
{ getSharedAppEnv } =
require
(
"@buttercup/app-env"
);
Object
.
assign
(
global
, { expect, sinon });
getSharedAppEnv
().
getProperty
(
"crypto/v1/setDerivationRounds"
)(
10
);