Instantly share code, notes, and snippets.

Embed
What would you like to do?
it('should send OK with correct headers', () => {
expect(response.send).toHaveBeenCalledWith(200, {headers: {'set-cookie': externalResponseHeaders['set-cookie']}});
expect(response.send).toHaveBeenCalledTimes(1);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment