Skip to content

Commit

Permalink
fix: test runner by ensuring sandbox folder exist
Browse files Browse the repository at this point in the history
  • Loading branch information
andonary committed Sep 2, 2023
1 parent e4a07ad commit a698789
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/runner/init_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const { DOWN, ENTER } = require('inquirer-test');
const run = require('inquirer-test');
const path = require('path');
const fs = require('fs');
const mkdirp = require('mkdirp');

const runner = path.join(__dirname, '../../bin/codecept.js');
const codecept_dir = path.join(__dirname, '/../data/sandbox/configs/init');
Expand All @@ -10,6 +11,7 @@ describe('Init Command', function () {
this.timeout(20000);

beforeEach(() => {
mkdirp.sync(codecept_dir);
process.env._INIT_DRY_RUN_INSTALL = true;
});

Expand Down

0 comments on commit a698789

Please sign in to comment.