Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion packages/cli-repl/test/e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,13 @@ describe('e2e', function() {

afterEach(async() => {
await TestShell.killall();
await promisify(rimraf)(homedir);
try {
await promisify(rimraf)(homedir);
} catch (err) {
// On Windows in CI, this can fail with EPERM for some reason.
// If it does, just log the error instead of failing all tests.
console.error('Could not remove fake home directory:', err);
}
});

describe('config file', async() => {
Expand Down