chore: remove dead code from test (#2819)

This commit is contained in:
Yury Semikhatsky 2020-07-02 10:42:46 -07:00 committed by GitHub
parent 3d403cb2cd
commit 6329cbbbf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,13 +14,8 @@
* limitations under the License.
*/
const { Writable } = require('stream');
const {FFOX, CHROMIUM, WEBKIT, USES_HOOKS} = require('./utils').testOptions(browserType);
const {USES_HOOKS} = require('./utils').testOptions(browserType);
const pattern = [
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
].join('|')
class WritableBuffer {
constructor() {
this.lines = [];