Skip to content

Commit

Permalink
Merge pull request #36 from leochen-g/fix-mime
Browse files Browse the repository at this point in the history
Fix test case
  • Loading branch information
leochen-g authored Jan 17, 2024
2 parents 4bbd9a7 + 8d25cd5 commit da0e389
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wechaty-puppet-official-account",
"version": "1.10.7",
"version": "1.10.8",
"description": "Wechaty Puppet for WeChat Official Accounts",
"type": "module",
"exports": {
Expand Down
6 changes: 3 additions & 3 deletions src/official-account/official-account.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ test('OfficialAccount smoke testing', async t => {
const PAYLOAD = {
Content : 'testing123',
CreateTime : '1596436942',
FromUserName : 'ooEEu1Pdb4otFUedqOx_LP1p8sSQ',
FromUserName : 'oMlUq6kYAV9o4PM53mFEDs95Y6wk',
MsgId : '22855481560378379',
MsgType : 'text',
ToUserName : 'gh_d06c5c4a0126',
ToUserName : 'gh_1f352e1e8f1a',
}

const XML = `
Expand Down Expand Up @@ -121,7 +121,7 @@ test('sendCustomMessage()', async t => {
const ret = await oa.sendCustomMessage({
content: 'wechaty-puppet-official-account CI testing',
msgtype: 'text',
touser: 'ooEEu1Pdb4otFUedqOx_LP1p8sSQ',
touser: 'oMlUq6kYAV9o4PM53mFEDs95Y6wk',
})
t.not(ret, null, 'should get messageId')
} catch (e) {
Expand Down

0 comments on commit da0e389

Please sign in to comment.