Skip to content

Commit

Permalink
test: use setTimeout to wait npm config set
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Jun 1, 2023
1 parent 74bdf27 commit 6df1aa7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ describe('nnrm use', () => {
await setCurrentRegistry(registry, 'npm')
}

// use setTimeout to wait `npm config set` `npm config get`
it('use toggle', async () => {
await useRegistry('taobao')
setTimeout(async () => {
Expand Down

0 comments on commit 6df1aa7

Please sign in to comment.