From a683e27a871c2439ace558d283680800bc01c391 Mon Sep 17 00:00:00 2001 From: Lily He Date: Fri, 28 Jul 2017 15:35:45 -0400 Subject: [PATCH] removed 'parsed_text' from list of expected params for _text --- sanitizer/_text.js | 2 +- test/unit/sanitizer/_text.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sanitizer/_text.js b/sanitizer/_text.js index 19e5f5b5..1df63411 100644 --- a/sanitizer/_text.js +++ b/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 = () => ({ diff --git a/test/unit/sanitizer/_text.js b/test/unit/sanitizer/_text.js index 2692967d..0a6729b1 100644 --- a/test/unit/sanitizer/_text.js +++ b/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) => {