mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 17:39:50 +00:00
Initial commit (from f5274cbdce4ae7c9e4b937dcdf95ac70ae436d5f)
This commit is contained in:
23
node_modules/html-escaper/test/index.js
generated
vendored
Normal file
23
node_modules/html-escaper/test/index.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
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'
|
||||
);
|
||||
1
node_modules/html-escaper/test/package.json
generated
vendored
Normal file
1
node_modules/html-escaper/test/package.json
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"type":"commonjs"}
|
||||
Reference in New Issue
Block a user