Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: remove dead code from test (#2819)

Yury Semikhatsky6329cbbbf8d3
diff --git a/test/recorder.spec.js b/test/recorder.spec.js
index 8c32705758..15849d658b 100644
--- a/test/recorder.spec.js
+++ b/test/recorder.spec.js
@@ -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 = [];