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

10
node_modules/insert-module-globals/test/always/main.js generated vendored Normal file
View File

@@ -0,0 +1,10 @@
t.equal(eval('typeof process'), 'object');
t.equal(eval('typeof process.nextTick'), 'function');
t.equal(eval('typeof global'), 'object');
t.equal(eval('global.xyz'), 555);
t.equal(eval('typeof Buffer'), 'function');
t.equal(eval('typeof __filename'), 'string');
t.notEqual(eval('__filename'), 'sandbox __filename');
t.equal(eval('typeof __dirname'), 'string');
t.notEqual(eval('__dirname'), 'sandbox __dirname');
t.equal(eval('custom'), 'sandbox custom');