Skip to content

Commit 3f087e6

Browse files
author
changfeng
committed
test: update test stderr
1 parent 305aa29 commit 3f087e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export async function getPkgSize(name: string, version: string) {
6666
resp = await axios.get<GetPkgSizeResponseData>(
6767
`https://bundlephobia.com/api/size?package=${name}@${version}`,
6868
{
69-
timeout: 3000,
69+
timeout: 6666,
7070
},
7171
);
7272
} catch {

tests/fixtures/mono/app/stderr.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[warn] multiple versions of axios is bundled!
22

3-
axios:
4-
- 0.27.2 imported by tests/fixtures/mono/packages/pkg2/index.js
5-
- 1.4.0 imported by tests/fixtures/mono/packages/pkg1/index.js
3+
axios(39.316kb):
4+
- 0.27.2(19.658kb) imported by tests/fixtures/mono/packages/pkg2/index.js
5+
- 1.4.0 (19.658kb) imported by tests/fixtures/mono/packages/pkg1/index.js

0 commit comments

Comments
 (0)