Skip to content

Commit 40ec175

Browse files
committed
fix system test
1 parent fe5c05d commit 40ec175

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

system-tests/test/config_spec.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,11 @@ describe('e2e config', () => {
103103
})
104104

105105
it('throws error when cypress.json is found in project and cypress.config.{ts|js} exists as well', function () {
106-
const projectRoot = Fixtures.projectPath('multiples-config-files-with-json')
106+
Fixtures.scaffoldProject('multiples-config-files-with-json')
107+
Fixtures.projectPath('multiples-config-files-with-json')
107108

108109
return systemTests.exec(this, {
109-
project: projectRoot,
110+
project: 'multiples-config-files-with-json',
110111
expectedExitCode: 1,
111112
snapshot: true,
112113
})

0 commit comments

Comments
 (0)