Browse Source

removed 'parsed_text' from list of expected params for _text

pull/942/head
Lily He 7 years ago
parent
commit
a683e27a87
  1. 2
      sanitizer/_text.js
  2. 1
      test/unit/sanitizer/_text.js

2
sanitizer/_text.js

@ -22,7 +22,7 @@ function _sanitize( raw, clean ){
} }
function _expected(){ function _expected(){
return [{ name: 'text' }, { name: 'parsed_text' }]; return [{ name: 'text' }];
} }
// export function // export function
module.exports = () => ({ module.exports = () => ({

1
test/unit/sanitizer/_text.js

@ -52,7 +52,6 @@ module.exports.tests.text_parser = function(test, common) {
t.deepEquals(validParameters, expected); t.deepEquals(validParameters, expected);
t.end(); t.end();
}); });
}; };
module.exports.all = (tape, common) => { module.exports.all = (tape, common) => {

Loading…
Cancel
Save