refactor: init cypress-cucumber-preprocessor install.

This commit is contained in:
2021-09-02 17:02:45 +02:00
parent 89ec2d42ac
commit 1aa57bbd0a
5000 changed files with 408119 additions and 231 deletions

22
node_modules/browserify/test/catch.js generated vendored Normal file
View File

@@ -0,0 +1,22 @@
var browserify = require('../');
var test = require('tap').test;
test('catch pipeline errors with a callback', function (t) {
t.plan(2);
var b = browserify(__dirname + '/catch/main.js');
b.bundle(function (err, src) {
t.ok(err);
t.ok(/no_such_file/.test(err));
});
});
test('catch pipeline errors with an event', function (t) {
t.plan(2);
var b = browserify(__dirname + '/catch/main.js').bundle();
b.on('error', function (err) {
t.ok(err);
t.ok(/no_such_file/.test(err));
});
});