Skip to content

Commit

Permalink
tests: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Nov 26, 2020
1 parent 8a2a4ef commit 3666da7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cli/test/commands/init.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const runDirPath = path.join(__dirname, '..', 'run');
const rootPath = path.join(__dirname, '..', '..', '..', '..');

beforeAll(() => {
fs.mkdirSync(runDirPath);
fse.removeSync(runDirPath);
fse.mkdirSync(runDirPath);
// Copy all files from fixtures directory to `run`
const dirs = fs.readdirSync(fixturesDirPath);
dirs.forEach((dir) => {
Expand Down

0 comments on commit 3666da7

Please sign in to comment.