Skip to content

Commit 7fd6dbf

Browse files
author
LongYinan
committed
chore: add output info to simple tests
1 parent fd514c2 commit 7fd6dbf

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

packages/bcrypt/simple-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
const { verifySync } = require('./index')
22

33
console.assert(verifySync('hello', '$2b$12$k4V9p7YpSYHY05bORujyyeesfPaWNQfPkjVzETFGfozAN/fH0LtdG'))
4+
5+
console.info('bcrypt simple test passed')

packages/crc32/simple-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
const { crc32 } = require('./index')
22

33
console.assert(crc32('hello') === '907060870')
4+
5+
console.info('crc32 simple test passed')

packages/jieba/simple-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ const [first, second] = cut('武汉市长江大桥')
44

55
console.assert(first === '武汉市')
66
console.assert(second === '长江大桥')
7+
8+
console.info('jieba simple test passed')

0 commit comments

Comments
 (0)