mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-24 17:38:52 -05:00
fix: add v8 snapshot usage to cypress in cypress testing (#24860)
This commit is contained in:
@@ -3,7 +3,7 @@ const path = require('path')
|
||||
|
||||
process.env.CYPRESS_INTERNAL_ENV = process.env.CYPRESS_INTERNAL_ENV || 'production'
|
||||
try {
|
||||
require('./node_modules/bytenode/lib/index.js')
|
||||
require('bytenode')
|
||||
const filename = path.join(__dirname, 'packages', 'server', 'index.jsc')
|
||||
const dirname = path.dirname(filename)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user