Browse Source

removed 'parsed_text' from list of expected params for _text

pull/942/head
Lily He 8 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(){
return [{ name: 'text' }, { name: 'parsed_text' }];
return [{ name: 'text' }];
}
// export function
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.end();
});
};
module.exports.all = (tape, common) => {

Loading…
Cancel
Save