Skip to content

Commit 7d9d65e

Browse files
committed
Update linkPackageTo.spec.ts
1 parent 13baf80 commit 7d9d65e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tools/link/src/utils/linkPackageTo.spec.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ describe('tools/link/linkPackageTo', () => {
1010
let spawnSpy: jest.SpyInstance<ChildProcess>;
1111

1212
beforeAll(() => {
13-
fsx.emptyDirSync('./tmp');
14-
fsx.rmdirSync('./tmp/');
15-
fsx.mkdirSync('./tmp/');
16-
fsx.mkdirSync('./tmp/app');
13+
fsx.ensureDirSync('./tmp/app');
14+
fsx.emptyDirSync('./tmp/app');
1715
});
1816

1917
beforeEach(() => {

0 commit comments

Comments
 (0)