forwardemail / forwardemail/supertest

Is there any option to set global config to be run in mocha before() function ?

Open
#711 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
14.4k
Forks
782
PR merge metrics
No merged PRs in 30d

Description

I'm trying to explore the supertest, so I was wondering if I can add in before func some kind of global config.

like sending login post request then extract the cookies, header any needed data and inject it to all other it blocks automatically.

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.