Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cli): prevent test interference #32270

Merged
merged 10 commits into from
Nov 25, 2024
Prev Previous commit
Next Next commit
Rename directory
  • Loading branch information
rix0rrr committed Nov 25, 2024
commit e04f71e5658decee5ea68e005cc99ee04bfe2303
2 changes: 1 addition & 1 deletion packages/aws-cdk/test/jest-setup-after-env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ let tmpDir: string;
let oldDir: string;

beforeAll(() => {
tmpDir = path.join(os.tmpdir(), 'cdk-nonwritable');
tmpDir = path.join(os.tmpdir(), 'cdk-nonwritable-on-purpose');
fs.mkdirSync(tmpDir, { recursive: true });
fs.chmodSync(tmpDir, 0o500);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That works too 👍

oldDir = process.cwd();
Expand Down
Loading