Skip to content

Commit

Permalink
Fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
estrada9166 committed Nov 16, 2021
1 parent ba50420 commit 5b258ae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/server/test/integration/cypress_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,9 @@ describe('lib/cypress', () => {
it('scaffolds out support + files if they do not exist', function () {
const supportFolder = path.join(this.pristineWithConfigPath, 'cypress/support')

return ctx.actions.project.setActiveProjectForTestSetup(this.pristineWithConfigPath)
.then(() => config.get(this.pristineWithConfigPath))
ctx.actions.project.setActiveProjectForTestSetup(this.pristineWithConfigPath)

return config.get(this.pristineWithConfigPath)
.then(() => {
return fs.statAsync(supportFolder)
.then(() => {
Expand All @@ -564,7 +565,7 @@ describe('lib/cypress', () => {
it('removes fixtures when they exist and fixturesFolder is false', function (done) {
ctx.actions.project.setActiveProjectForTestSetup(this.idsPath)

return config.get(this.idsPath)
config.get(this.idsPath)
.then((cfg) => {
this.cfg = cfg

Expand Down

0 comments on commit 5b258ae

Please sign in to comment.