Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Feb 2, 2025
1 parent 992f4bd commit 47d0826
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions test/pnpmCatalog.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ it('pnpm catalog', async () => {

expect(result.packages.map(p => p.name)).toMatchInlineSnapshot(`
[
"@taze/monorepo-example",
"catalog:default",
"catalog:react17",
"catalog:react18",
"@taze/monorepo-example",
]
`)

Expand All @@ -25,39 +25,6 @@ it('pnpm catalog', async () => {
})),
).toMatchInlineSnapshot(`
[
{
"name": "@taze/monorepo-example",
"packages": [
[
"express",
"4.12.x",
],
[
"lodash",
"^4.13.19",
],
[
"multer",
"^0.1.8",
],
[
"react-bootstrap",
"^0.22.6",
],
[
"webpack",
"~1.9.10",
],
[
"@types/lodash",
"^4.14.0",
],
[
"typescript",
"3.5",
],
],
},
{
"name": "catalog:default",
"packages": [
Expand Down Expand Up @@ -97,6 +64,39 @@ it('pnpm catalog', async () => {
],
],
},
{
"name": "@taze/monorepo-example",
"packages": [
[
"express",
"4.12.x",
],
[
"lodash",
"^4.13.19",
],
[
"multer",
"^0.1.8",
],
[
"react-bootstrap",
"^0.22.6",
],
[
"webpack",
"~1.9.10",
],
[
"@types/lodash",
"^4.14.0",
],
[
"typescript",
"3.5",
],
],
},
]
`)
})

0 comments on commit 47d0826

Please sign in to comment.