bamlab/react-native-project-config

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

AntoineThibi opened this issue · 0 comments

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()