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: refresh lockfile #15040

Merged
merged 3 commits into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion e2e/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import * as path from 'path';
import * as util from 'util';
import dedent from 'dedent';
import dedentBase from 'dedent';
import {
type ExecaSyncError,
type SyncOptions as ExecaSyncOptions,
Expand All @@ -18,6 +18,8 @@
import which = require('which');
import type {Config} from '@jest/types';

const dedent = dedentBase.withOptions({escapeSpecialCharacters: true});

export const run = (
cmd: string,
cwd?: string,
Expand Down Expand Up @@ -102,7 +104,7 @@

export const cleanup = (directory: string) => {
try {
fs.rmSync(directory, {force: true, recursive: true});

Check failure on line 107 in e2e/Utils.ts

View workflow job for this annotation

GitHub Actions / Windows with shard 4/4 / Node v20.x

Node crawler does not pick up symlinked files by default

EBUSY: resource busy or locked, rmdir 'C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/crawlSymlinks.test.ts:36:10)

Check failure on line 107 in e2e/Utils.ts

View workflow job for this annotation

GitHub Actions / Windows with shard 4/4 / Node v20.x

Should throw if watchman used with haste.enableSymlinks

EBUSY: resource busy or locked, rmdir 'C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/crawlSymlinks.test.ts:15:10)

Check failure on line 107 in e2e/Utils.ts

View workflow job for this annotation

GitHub Actions / Windows with shard 4/4 / Node v20.x

Should throw if watchman used with haste.enableSymlinks

EBUSY: resource busy or locked, rmdir 'C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test' at rmSync (e2e/Utils.ts:107:8) at Object.<anonymous> (e2e/__tests__/crawlSymlinks.test.ts:36:10)
} catch (error) {
try {
// retry once in case of e.g. permission errors
Expand Down