Skip to content

Commit f4215cc

Browse files
committed
fix format
1 parent 14e150d commit f4215cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

__tests__/authutil.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@ describe('authutil tests', () => {
122122
let rc = readRcFile(rcFile);
123123
expect(rc['registry']).toBe('https://registry.npmjs.org/');
124124
expect(rc['always-auth']).toBe('true');
125-
})
126-
it('It is already set the NODE_AUTH_TOKEN export it ', async ()=> {
127-
process.env.NODE_AUTH_TOKEN='foobar';
125+
});
126+
it('It is already set the NODE_AUTH_TOKEN export it ', async () => {
127+
process.env.NODE_AUTH_TOKEN = 'foobar';
128128
await auth.configAuthentication('npm.pkg.github.com', 'false');
129129
expect(fs.statSync(rcFile)).toBeDefined();
130130
let rc = readRcFile(rcFile);
131131
expect(rc['@ownername:registry']).toBe('npm.pkg.github.com/');
132132
expect(rc['always-auth']).toBe('false');
133133
expect(process.env.NODE_AUTH_TOKEN).toEqual('foobar');
134-
})
134+
});
135135
});

0 commit comments

Comments
 (0)