From 35385144b6057d4a066c3b036d8ecc5cfc656042 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 01:52:44 +0000 Subject: [PATCH 1/3] chore(deps): update dependency path-serializer to v0.2.2 --- pnpm-lock.yaml | 10 +++++----- tests/package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 56b9a1832..c59ecf321 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -370,8 +370,8 @@ importers: specifier: ^11.2.0 version: 11.2.0 path-serializer: - specifier: 0.1.3 - version: 0.1.3 + specifier: 0.2.2 + version: 0.2.2 strip-ansi: specifier: ^7.1.0 version: 7.1.0 @@ -4036,8 +4036,8 @@ packages: resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} engines: {node: '>=16 || 14 >=14.18'} - path-serializer@0.1.3: - resolution: {integrity: sha512-QHctOXmm/EMIrzaEND1gYlGgu8WOSv5aqRRbUxkpFiV/2aPBtSCx2lTr2XPK2raMsI/v/jJti49g615B35MAkQ==} + path-serializer@0.2.2: + resolution: {integrity: sha512-RKu4KZJCHV6QBMx19Ba59YRMPAMVfgyAGSaUk7RMlZgzihDgAwV1UIEhN6rQ6wcmqv42K6y7JSfWoU6JoBHeig==} path-to-regexp@0.1.10: resolution: {integrity: sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==} @@ -9204,7 +9204,7 @@ snapshots: lru-cache: 10.4.3 minipass: 7.1.2 - path-serializer@0.1.3: {} + path-serializer@0.2.2: {} path-to-regexp@0.1.10: {} diff --git a/tests/package.json b/tests/package.json index d9a1daeee..a94fc5a22 100644 --- a/tests/package.json +++ b/tests/package.json @@ -24,7 +24,7 @@ "@types/react": "^18.3.11", "@types/react-dom": "^18.3.1", "fs-extra": "^11.2.0", - "path-serializer": "0.1.3", + "path-serializer": "0.2.2", "strip-ansi": "^7.1.0", "test-helper": "workspace:*", "tinyglobby": "^0.2.9" From 96800a24ec50f62643ace76dd33ff99d334c93be Mon Sep 17 00:00:00 2001 From: SoonIter Date: Mon, 21 Oct 2024 11:46:32 +0800 Subject: [PATCH 2/3] chore: fix --- tests/setupVitestTests.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/setupVitestTests.ts b/tests/setupVitestTests.ts index db2281eca..5bdc21294 100644 --- a/tests/setupVitestTests.ts +++ b/tests/setupVitestTests.ts @@ -11,10 +11,9 @@ beforeEach(() => { expect.addSnapshotSerializer( createSnapshotSerializer({ - workspace: path.join(__dirname, '..'), - cwd: path.join(__dirname, '..'), + root: path.join(__dirname, '..'), features: { - ansiDoubleQuotes: false, + escapeDoubleQuotes: false }, }), ); From cd5cfb719716f8a4021dea23f7abb228131f62da Mon Sep 17 00:00:00 2001 From: SoonIter Date: Mon, 21 Oct 2024 11:51:01 +0800 Subject: [PATCH 3/3] chore: format --- tests/setupVitestTests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/setupVitestTests.ts b/tests/setupVitestTests.ts index 5bdc21294..68feb2b63 100644 --- a/tests/setupVitestTests.ts +++ b/tests/setupVitestTests.ts @@ -13,7 +13,7 @@ expect.addSnapshotSerializer( createSnapshotSerializer({ root: path.join(__dirname, '..'), features: { - escapeDoubleQuotes: false + escapeDoubleQuotes: false, }, }), );