File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -122,14 +122,14 @@ describe('authutil tests', () => {
122
122
let rc = readRcFile ( rcFile ) ;
123
123
expect ( rc [ 'registry' ] ) . toBe ( 'https://registry.npmjs.org/' ) ;
124
124
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' ;
128
128
await auth . configAuthentication ( 'npm.pkg.github.com' , 'false' ) ;
129
129
expect ( fs . statSync ( rcFile ) ) . toBeDefined ( ) ;
130
130
let rc = readRcFile ( rcFile ) ;
131
131
expect ( rc [ '@ownername:registry' ] ) . toBe ( 'npm.pkg.github.com/' ) ;
132
132
expect ( rc [ 'always-auth' ] ) . toBe ( 'false' ) ;
133
133
expect ( process . env . NODE_AUTH_TOKEN ) . toEqual ( 'foobar' ) ;
134
- } )
134
+ } ) ;
135
135
} ) ;
You can’t perform that action at this time.
0 commit comments