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

32
node_modules/browserify/test/bundle_sourcemap.js generated vendored Normal file
View File

@@ -0,0 +1,32 @@
var browserify = require('../');
var test = require('tap').test;
test('bundle in debug mode', function (t) {
t.plan(3);
var b = browserify({ debug: true });
b.require('seq');
b.bundle(function (err, buf) {
var src = buf.toString('utf8');
var secondtolastLine = src.split('\n').slice(-2);
t.ok(typeof src === 'string');
t.ok(src.length > 0);
t.ok(/^\/\/# sourceMappingURL=/.test(secondtolastLine), 'includes sourcemap');
});
});
test('bundle in non debug mode', function (t) {
t.plan(3);
var b = browserify();
b.require('seq');
b.bundle(function (err, buf) {
var src = buf.toString('utf8');
var secondtolastLine = src.split('\n').slice(-2);
t.ok(typeof src === 'string');
t.ok(src.length > 0);
t.notOk(/^\/\/# sourceMappingURL=/.test(secondtolastLine), 'includes no sourcemap');
});
});