From ec1467a09397ed2b2d4b7ce101f8f8ee7856f8ce Mon Sep 17 00:00:00 2001 From: Dimitrie Stefanescu Date: Thu, 14 May 2020 15:11:25 +0100 Subject: [PATCH] fix(tests): removed console.log statement --- modules/core/tests/graph.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/tests/graph.spec.js b/modules/core/tests/graph.spec.js index ca8dcf0d2..9a7e74570 100644 --- a/modules/core/tests/graph.spec.js +++ b/modules/core/tests/graph.spec.js @@ -80,7 +80,7 @@ describe( 'GraphQL API Core', ( ) => { expect( res1.body.data.apiTokenCreate ).to.be.a( 'string' ) token1 = `Bearer ${res1.body.data.apiTokenCreate}` - console.log( userA.token ) + const res2 = await sendRequest( userA.token, { query: `mutation { apiTokenCreate(name:"Token 1", scopes: ["streams:write", "streams:read", "users:email"]) }` } ) token2 = `Bearer ${res2.body.data.apiTokenCreate}`