From f4215cc0e06402b8ce25037e54dde2c7e1c0306c Mon Sep 17 00:00:00 2001 From: Andres Vargas Date: Wed, 21 Oct 2020 18:31:20 -0500 Subject: [PATCH] fix format --- __tests__/authutil.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/__tests__/authutil.test.ts b/__tests__/authutil.test.ts index 110cbbec..1ec4e1e1 100644 --- a/__tests__/authutil.test.ts +++ b/__tests__/authutil.test.ts @@ -122,14 +122,14 @@ describe('authutil tests', () => { let rc = readRcFile(rcFile); expect(rc['registry']).toBe('https://registry.npmjs.org/'); expect(rc['always-auth']).toBe('true'); - }) - it('It is already set the NODE_AUTH_TOKEN export it ', async ()=> { - process.env.NODE_AUTH_TOKEN='foobar'; + }); + it('It is already set the NODE_AUTH_TOKEN export it ', async () => { + process.env.NODE_AUTH_TOKEN = 'foobar'; await auth.configAuthentication('npm.pkg.github.com', 'false'); expect(fs.statSync(rcFile)).toBeDefined(); let rc = readRcFile(rcFile); expect(rc['@ownername:registry']).toBe('npm.pkg.github.com/'); expect(rc['always-auth']).toBe('false'); expect(process.env.NODE_AUTH_TOKEN).toEqual('foobar'); - }) + }); });