Fix tests with using sessions in e2e tests of private api

Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
Yannick Bungers 2021-10-13 20:43:56 +02:00 committed by David Mehren
parent ad190fcf22
commit 11ae7d133c
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
6 changed files with 132 additions and 88 deletions

View file

@ -22,7 +22,7 @@ module.exports = {
'jest/expect-expect': [
'error',
{
assertFunctionNames: ['expect', 'request.**.expect'],
assertFunctionNames: ['expect', 'request.**.expect', 'agent.**.expect'],
},
],
'jest/no-standalone-expect': [