Fix specs

This commit is contained in:
Tom Moor
2018-11-12 23:17:50 -08:00
parent a95632b9de
commit 414cb1d79c
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ describe('#index', async () => {
it('should render app if there is an accessToken', async () => {
const res = await server.get('/', {
headers: { authorization: 'Bearer thisIsAnAccessToken' },
headers: { Cookie: ['accessToken=12345667'] },
});
const html = await res.text();
expect(res.status).toEqual(200);