mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-23 15:39:28 -05:00
fix: add v8 snapshot usage to cypress in cypress testing (#24860)
This commit is contained in:
@@ -143,9 +143,9 @@ function integrityCheck (options) {
|
||||
fileName: 'evalmachine.<anonymous>',
|
||||
},
|
||||
{
|
||||
functionName: 'Module._extensions.<computed>',
|
||||
functionName: 'Module2._extensions.<computed>',
|
||||
// eslint-disable-next-line no-undef
|
||||
fileName: [appPath, 'node_modules', 'bytenode', 'lib', 'index.js'].join(PATH_SEP),
|
||||
fileName: [appPath, 'index.js'].join(PATH_SEP),
|
||||
},
|
||||
{
|
||||
// eslint-disable-next-line no-undef
|
||||
@@ -164,15 +164,6 @@ function integrityCheck (options) {
|
||||
errorMessage: 'Integrity check failed for main index.js file',
|
||||
})
|
||||
|
||||
validateFile({
|
||||
// eslint-disable-next-line no-undef
|
||||
filePath: [appPath, 'node_modules', 'bytenode', 'lib', 'index.js'].join(PATH_SEP),
|
||||
crypto,
|
||||
fs,
|
||||
expectedHash: 'BYTENODE_HASH',
|
||||
errorMessage: 'Integrity check failed for main bytenode.js file',
|
||||
})
|
||||
|
||||
validateFile({
|
||||
// eslint-disable-next-line no-undef
|
||||
filePath: [appPath, 'packages', 'server', 'index.jsc'].join(PATH_SEP),
|
||||
|
||||
Reference in New Issue
Block a user