aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-11-30 01:13:22 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-11-30 01:13:22 +0100
commit89c6c05a5336400cb1db1801d2784a9630c57fc4 (patch)
tree087a7ad3254295e68d565c7ad8cae21199edec48 /static
parentRework tab system. (diff)
downloadcalp-89c6c05a5336400cb1db1801d2784a9630c57fc4.tar.gz
calp-89c6c05a5336400cb1db1801d2784a9630c57fc4.tar.xz
Remove jcal-tests.js
Our singular, badly written, test didn't feel worth the headache to keep around. A proper test suite for most of our fronttound would however be nice.
Diffstat (limited to 'static')
-rw-r--r--static/jcal-tests.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/static/jcal-tests.js b/static/jcal-tests.js
deleted file mode 100644
index c84d9bd1..00000000
--- a/static/jcal-tests.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/* "Test cases" for jcal.js.
- ideally we would actually have runnable tests, but
- `document' is only available in the browser.
-*/
-
-let doc = document.implementation.createDocument(xcal, 'icalendar');
-
-jcal = ['key', {}, 'text', 'value'];
-
-jcal_property_to_xcal_property(doc, jcal);
-
-
-
-jcal_to_xcal(['vcalendar', [], [['vevent', [['key', {}, 'text', 'value']], []]]]).childNodes[0].outerHTML
-
-/* returns (except not pretty printee)
-<icalendar xmlns="urn:ietf:params:xml:ns:icalendar-2.0">
- <vcalendar>
- <properties/>
- <components>
- <vevent>
- <properties>
- <key>
- <text>value</text>
- </key>
- </properties>
- <components/>
- </vevent>
- </components>
- </vcalendar>
-</icalendar>
-*/