fix: add v8 snapshot usage to cypress in cypress testing (#24860)

This commit is contained in:
Ryan Manuel
2022-12-08 00:04:37 -06:00
committed by GitHub
parent 79f743e1cf
commit c540284f50
27 changed files with 175 additions and 148 deletions
+1 -1
View File
@@ -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)