diff options
Diffstat (limited to 'vanilla/node_modules/html-escaper/test/index.js')
| -rw-r--r-- | vanilla/node_modules/html-escaper/test/index.js | 23 |
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('&<>\'"') === '&<>'"', - 'correct escape' -); - -console.assert( - html.escape('<>\'"&') === '<>'"&', - 'correct inverted escape' -); - -console.assert( - '&<>\'"' === html.unescape('&<>'"'), - 'correct unescape' -); - -console.assert( - '<>\'"&' === html.unescape('<>'"&'), - 'correct inverted unescape' -); |
