Skip to content

Commit b79ab0b

Browse files
committed
update test case and doc
1 parent 9062f60 commit b79ab0b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
Event,
88
EventConfig,
99
Calendar,
10-
} from 'https://deno.land/x/simple_ics@0.0.8/mod.ts';
10+
} from 'https://deno.land/x/simple_ics@0.0.10/mod.ts';
1111

1212
const cfg1: EventConfig = {
1313
title: 'Write Typescript',
@@ -24,6 +24,10 @@ const cfg2: EventConfig = {
2424
freq: 'DAILY',
2525
count: 3,
2626
},
27+
alarm: {
28+
desc: 'Write Rust NOW',
29+
advance: 30,
30+
},
2731
};
2832

2933
const evt1 = new Event(cfg1);

tests.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,17 @@ Deno.test({
4141
};
4242

4343
const cfg2: EventConfig = {
44-
title: 'Write Rust for next 3 days',
44+
title: 'Write Rust for 3 days',
4545
beginDate: new Date(),
4646
duration: 3600, // Duration: 3600s, or 1h
4747
rrule: {
4848
freq: 'DAILY',
4949
count: 3,
5050
},
51+
alarm: {
52+
desc: 'Write Rust NOW',
53+
advance: 30,
54+
},
5155
};
5256

5357
const evt1 = new Event(cfg1);

0 commit comments

Comments
 (0)