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

Wait for processed files in metro-file-map #1358

Closed
wants to merge 1 commit into from
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ describe('Server torn down test', () => {
'Timeout',
'TickObject',
'FSREQCALLBACK',
'FSREQPROMISE',
'FSEVENTWRAP',
'SIGNALWRAP',
].includes(type)
Expand Down Expand Up @@ -70,7 +71,8 @@ describe('Server torn down test', () => {
maybeTest(
'[macOS (darwin) only] fsevents to be destroyed after 100ms',
async () => {
// $FlowFixMe[cannot-resolve-module] - Optional, Darwin only
// imported in metro-file-map
// eslint-disable-next-line import/no-extraneous-dependencies
const fsevents = require('fsevents');

const fsEventsWatchStopper = fsevents.watch(__filename, () => {});
Expand Down
Loading