bamlab / bamlab/react-native-project-config

[Issue] `@bam.tech/await-user-event` forces an await on synchronous methods

Open
#104 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
9
Forks
0
Avg merge
10h 29m
Merged PRs (30d)
2

Description

## Issue :
```
// userEvent.setup est une méthode synchrone

// ❌ Recommandation du plugin @bam.tech/await-user-event
const user = await userEvent.setup()

// ✅ Recommandation attendue
const user = userEvent.setup()
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.