-
Notifications
You must be signed in to change notification settings - Fork 0
/
visaWithdrawn.testdata.ts
56 lines (47 loc) · 1.66 KB
/
visaWithdrawn.testdata.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import { TestDataset } from './testDataset.testkit'
import { VisaWithdrawn } from './visaWithdrawn'
export const testDataset: TestDataset<VisaWithdrawn> = [
{
input: {
subject: '【Visaデビット】ご利用代金お引き落としのお知らせ',
text: `カ)クラフトマンソフトウェア様
いつもジャパンネット銀行をご利用いただきありがとうございます。
JNB Visaデビットのご利用代金を普通預金口座よりお引き落としいたしました。
お引落日時:2001/02/03 04:05:06
お引落金額:2,760円
加盟店名:AMAZON CO JP
取引明細番号:1A165002
[...略...]`,
},
output: {
type: 'visaWithdrawn',
withdrawnOn: '2001-02-03T04:05:06+09:00',
amount: 2760,
shop: 'AMAZON CO JP',
number: '1A165002',
},
},
{
input: {
subject: '【Visaデビット】ご利用代金お引き落としのお知らせ',
text: `カ)クラフトマンソフトウェア様
いつもジャパンネット銀行をご利用いただきありがとうございます。
JNB Visaデビットのご利用代金を普通預金口座よりお引き落としいたしました。
お引落日時:2001/02/03 04:05:06
ご利用日:2000/01/02
お引落金額:1円
加盟店名:GITHUB
取引明細番号:1A165001
[...略...]`,
},
output: {
type: 'visaWithdrawn',
withdrawnOn: '2001-02-03T04:05:06+09:00',
useOfDate: '2000-01-02',
amount: 1,
shop: 'GITHUB',
number: '1A165001',
},
},
]
export default { testDataset }