aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/html-escaper/test/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'vanilla/node_modules/html-escaper/test/index.js')
-rw-r--r--vanilla/node_modules/html-escaper/test/index.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/vanilla/node_modules/html-escaper/test/index.js b/vanilla/node_modules/html-escaper/test/index.js
deleted file mode 100644
index 0eb00de..0000000
--- a/vanilla/node_modules/html-escaper/test/index.js
+++ /dev/null
@@ -1,23 +0,0 @@
-delete Object.freeze;
-
-var html = require('../cjs');
-
-console.assert(
- html.escape('&<>\'"') === '&amp;&lt;&gt;&#39;&quot;',
- 'correct escape'
-);
-
-console.assert(
- html.escape('<>\'"&') === '&lt;&gt;&#39;&quot;&amp;',
- 'correct inverted escape'
-);
-
-console.assert(
- '&<>\'"' === html.unescape('&amp;&lt;&gt;&#39;&quot;'),
- 'correct unescape'
-);
-
-console.assert(
- '<>\'"&' === html.unescape('&lt;&gt;&#39;&quot;&amp;'),
- 'correct inverted unescape'
-);