File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 4
4
[ ![ Docker Pulls] ( https://img.shields.io/docker/pulls/zixia/wechaty.svg?maxAge=2592000 )] ( https://hub.docker.com/r/zixia/wechaty/ )
5
5
[ ![ Docker Stars] ( https://img.shields.io/docker/stars/zixia/wechaty.svg?maxAge=2592000 )] ( https://hub.docker.com/r/zixia/wechaty/ )
6
6
[ ![ Docker Layers] ( https://images.microbadger.com/badges/image/zixia/wechaty.svg )] ( https://microbadger.com/#/images/zixia/wechaty )
7
+ [ ![ Build Status] ( https://travis-ci.com/Chatie/docker-wechaty-getting-started.svg?branch=master )] ( https://travis-ci.com/Chatie/docker-wechaty-getting-started )
7
8
8
9
[ ![ dockeri.co] ( http://dockeri.co/image/zixia/wechaty )] ( https://hub.docker.com/r/zixia/wechaty/ )
9
10
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { Wechaty } from 'wechaty'
2
2
const bot = new Wechaty ( )
3
3
bot . on ( 'scan' , qrcode => {
4
4
console . log ( qrcode )
5
+ console . log ( 'SMOKE TESTING PASSED' )
5
6
process . exit ( 0 )
6
7
} )
7
8
bot . start ( )
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { Wechaty } from 'wechaty'
2
2
const bot : Wechaty = new Wechaty ( )
3
3
bot . on ( 'scan' , ( qrcode : string ) => {
4
4
console . log ( qrcode )
5
+ console . log ( 'SMOKE TESTING PASSED' )
5
6
process . exit ( 0 )
6
7
} )
7
8
bot . start ( )
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ fixtures=tests/fixtures
14
14
run dockerRun javascript.js
15
15
16
16
[ " $status " -eq 0 ]
17
- [[ $output =~ " https://login.weixin.qq.com/ " ]]
17
+ [[ $output =~ " SMOKE TESTING PASSED " ]]
18
18
}
19
19
20
20
@test " should succ with typescript" {
21
21
cd " $fixtures "
22
22
run dockerRun typescript.ts
23
23
24
24
[ " $status " -eq 0 ]
25
- [[ $output =~ " https://login.weixin.qq.com/ " ]]
25
+ [[ $output =~ " SMOKE TESTING PASSED " ]]
26
26
}
You can’t perform that action at this time.
0 commit comments