Skip to content

Commit

Permalink
cleanup(expo): run nx format
Browse files Browse the repository at this point in the history
  • Loading branch information
ziebam committed Sep 25, 2024
1 parent 43a567f commit e4f631e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/expo/src/utils/ensure-node-modules-symlink.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const appDirAbsolutePath = join(workspaceDir, appDir);

describe('ensureNodeModulesSymlink', () => {
beforeEach(() => {
if (existsSync(workspaceDir)) rmSync(workspaceDir, { recursive: true, force: true });
if (existsSync(workspaceDir))
rmSync(workspaceDir, { recursive: true, force: true });
mkdirSync(workspaceDir, { recursive: true });
mkdirSync(appDirAbsolutePath, { recursive: true });
mkdirSync(appDirAbsolutePath, { recursive: true });
Expand All @@ -35,7 +36,8 @@ describe('ensureNodeModulesSymlink', () => {
});

afterEach(() => {
if (existsSync(workspaceDir)) rmSync(workspaceDir, { recursive: true, force: true });
if (existsSync(workspaceDir))
rmSync(workspaceDir, { recursive: true, force: true });
});

it('should create symlinks', () => {
Expand Down

0 comments on commit e4f631e

Please sign in to comment.