@@ -10,7 +10,6 @@ const config = require(`../../lib/config`)
10
10
const scaffold = require ( `../../lib/scaffold` )
11
11
const { ServerE2E } = require ( `../../lib/server-e2e` )
12
12
const { ProjectBase } = require ( `../../lib/project-base` )
13
- const ProjectUtils = require ( `../../lib/project_utils` )
14
13
const { Automation } = require ( `../../lib/automation` )
15
14
const savedState = require ( `../../lib/saved_state` )
16
15
const plugins = require ( `../../lib/plugins` )
@@ -255,7 +254,6 @@ This option will not have an effect in Some-other-name. Tests that rely on web s
255
254
context ( '#open' , ( ) => {
256
255
beforeEach ( function ( ) {
257
256
sinon . stub ( this . project , 'startWebsockets' )
258
- this . checkSupportFileStub = sinon . stub ( ProjectUtils , 'checkSupportFile' ) . resolves ( )
259
257
sinon . stub ( this . project , 'scaffold' ) . resolves ( )
260
258
sinon . stub ( this . project , 'getConfig' ) . returns ( this . config )
261
259
sinon . stub ( ServerE2E . prototype , 'open' ) . resolves ( [ ] )
@@ -295,15 +293,6 @@ This option will not have an effect in Some-other-name. Tests that rely on web s
295
293
} )
296
294
} )
297
295
298
- it ( 'calls checkSupportFile with server config when scaffolding is finished' , function ( ) {
299
- return this . project . open ( ) . then ( ( ) => {
300
- expect ( this . checkSupportFileStub ) . to . be . calledWith ( {
301
- configFile : 'cypress.config.js' ,
302
- supportFile : false ,
303
- } )
304
- } )
305
- } )
306
-
307
296
it ( 'initializes the plugins' , function ( ) {
308
297
return this . project . open ( ) . then ( ( ) => {
309
298
expect ( plugins . init ) . to . be . called
0 commit comments