File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -229,12 +229,6 @@ describe('lib/cypress', () => {
229229 delete globalThis [ 'CY_TEST_MOCK' ]
230230 } )
231231
232- context ( 'it sets process.env.CYPRESS on file load' , ( ) => {
233- it ( 'sets CYPRESS=true when Cypress runs' , ( ) => {
234- expect ( process . env [ 'CYPRESS' ] ) . to . eq ( 'true' )
235- } )
236- } )
237-
238232 context ( 'test browsers' , ( ) => {
239233 // sanity checks to make sure the browser objects we pass during tests
240234 // all pass the internal validation function
Original file line number Diff line number Diff line change 11/* eslint-disable no-console */
2- // const { calculateCypressInternalEnv, configureLongStackTraces } = require('../lib/environment')
3-
4- // // TODO: how necessary is this??? CYPRESS_INTERNAL_ENV is set to 'test so long stack traces are not enabled in the testing environment
5- // process.env['CYPRESS_INTERNAL_ENV'] = calculateCypressInternalEnv()
6- // configureLongStackTraces(process.env['CYPRESS_INTERNAL_ENV'])
7- // // and CYPRESS is set to true shouldnt be needed for other tests
8- // process.env['CYPRESS'] = 'true'
9-
102const { enable, mockElectron } = require ( './mockery_helper' )
113
4+ const { configureLongStackTraces } = require ( '../lib/environment' )
5+
6+ configureLongStackTraces ( )
127const chai = require ( 'chai' )
138
149chai . use ( require ( 'chai-subset' ) )
You can’t perform that action at this time.
0 commit comments