Skip to content

Commit 16730b7

Browse files
committed
Fix unit test
1 parent 0a6767a commit 16730b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

trainingportal/test/qna.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ describe("qna", () => {
2020
test("true for correct code",()=>{
2121
let text = "plain text";
2222
for(let alg in qna.DEFS){
23+
24+
if(alg.startsWith("crypto") == false) continue;
2325
if(alg === "crypto_analysis") continue;
2426
let res = qna.getCode(alg,text);
2527
let check = qna.checkCode(text, res.digest);

0 commit comments

Comments
 (0)