mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-27 13:49:10 +02:00
fix: update api-token-test
This commit is contained in:
parent
e442212b52
commit
d74929958d
@ -35,7 +35,7 @@ test('should not do anything if request does not contain a authorization', async
|
|||||||
|
|
||||||
await func(req, undefined, cb);
|
await func(req, undefined, cb);
|
||||||
|
|
||||||
expect(req.header).toHaveBeenCalledTimes(1);
|
expect(req.header).toHaveBeenCalledTimes(2);
|
||||||
expect(cb).toHaveBeenCalledTimes(1);
|
expect(cb).toHaveBeenCalledTimes(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user