Skip to content

Commit a3dd373

Browse files
remove redundant code
1 parent 0f088a9 commit a3dd373

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

test/algo.rabbit.legacy.test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import C from '../src/index';
33
beforeAll(async () => {
44
await C.SHA256.loadWasm();
55
await C.RabbitLegacy.loadWasm();
6-
// TODO: this should be put in C.Rabbit.loadWasm later
7-
await C.MD5.loadWasm();
86
});
97

108
describe('algo-rabbit-legacy-test', () => {

test/algo.rabbit.test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ beforeAll(async () => {
55
});
66

77
beforeAll(async () => {
8-
// TODO: this should be put in C.Rabbit.loadWasm later
9-
await C.MD5.loadWasm();
108
await C.Rabbit.loadWasm();
119
});
1210

test/algo.rc4.test.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ beforeAll(async () => {
55
await C.RC4.loadWasm();
66
});
77

8-
beforeAll(async () => {
9-
// TODO: this should be put in C.RC4.loadWasm later
10-
await C.MD5.loadWasm();
11-
});
12-
138
describe('rc4', () => {
149
test('testVector1', () => {
1510
expect(C.RC4.encrypt(C.enc.Hex.parse('0000000000000000'), C.enc.Hex.parse('0123456789abcdef')).ciphertext.toString())

0 commit comments

Comments
 (0)