refactor(Cypress): add nodemodules

This commit is contained in:
2021-09-02 17:18:41 +02:00
parent 1aa57bbd0a
commit bc6e1bc12e
4238 changed files with 340975 additions and 8 deletions

16
node_modules/stack-chain/index.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
// If a another copy (same version or not) of stack-chain exists it will result
// in wrong stack traces (most likely dublicate callSites).
if (global._stackChain) {
// In case the version match, we can simply return the first initialized copy
if (global._stackChain.version === require('./package.json').version) {
module.exports = global._stackChain;
}
// The version don't match, this is really bad. Lets just throw
else {
throw new Error('Conflicting version of stack-chain found');
}
}
// Yay, no other stack-chain copy exists, yet :/
else {
module.exports = global._stackChain = require('./stack-chain');
}