diff options
Diffstat (limited to 'vanilla/node_modules/html-escaper/test')
| -rw-r--r-- | vanilla/node_modules/html-escaper/test/index.js | 23 | ||||
| -rw-r--r-- | vanilla/node_modules/html-escaper/test/package.json | 1 |
2 files changed, 0 insertions, 24 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' -); diff --git a/vanilla/node_modules/html-escaper/test/package.json b/vanilla/node_modules/html-escaper/test/package.json deleted file mode 100644 index 0292b99..0000000 --- a/vanilla/node_modules/html-escaper/test/package.json +++ /dev/null @@ -1 +0,0 @@ -{"type":"commonjs"}
\ No newline at end of file |
