1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
var ASSERT = chai.assert;
mocha.setup({
ui: 'bdd',
timeout: 30000
});
requirejs.config({
paths: {
forge: 'forge',
test: 'test'
}
});
requirejs([
'test/util',
'test/md5',
'test/sha1',
'test/sha256',
'test/hmac',
'test/pbkdf2',
'test/mgf1',
'test/random',
'test/asn1',
'test/pem',
'test/rsa',
'test/kem',
'test/pkcs1',
'test/x509',
'test/csr',
'test/aes',
'test/rc2',
'test/des',
'test/pkcs7',
'test/pkcs12',
'test/tls'
], function() {
mocha.run();
});
|