ci: __DEV__ flag for e2e tests

This commit is contained in:
Evan You 2022-05-26 02:39:58 +08:00
parent eb20b8228f
commit b0140bfdab

View File

@ -2,6 +2,7 @@ const featureFlags = require('../../scripts/feature-flags')
process.env.CHROME_BIN = require('puppeteer').executablePath() process.env.CHROME_BIN = require('puppeteer').executablePath()
const define = { const define = {
__DEV__: true,
'process.env.CI': !!process.env.CI 'process.env.CI': !!process.env.CI
} }