aboutsummaryrefslogtreecommitdiffstats
path: root/test/webcals/ics_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/webcals/ics_test.js')
-rw-r--r--test/webcals/ics_test.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/webcals/ics_test.js b/test/webcals/ics_test.js
new file mode 100644
index 0000000..904bbf9
--- /dev/null
+++ b/test/webcals/ics_test.js
@@ -0,0 +1,15 @@
+var fs = require('fs'),
+ ics = requireLib('ics'),
+ data = fs.readFileSync(__dirname + '/../../data/test.data', 'utf8');
+
+suite('webcals/ics', function() {
+
+ test('intiailizer', function() {
+ ics(data, function(data) {
+ console.log(data.vevent[0]);
+ }, function() {
+ console.log('y');
+ })
+ });
+
+});