use github api to find pull request for commit #195
Annotations
2 errors and 1 warning
Run pnpm test:
src/changelog.spec.js#L196
Error: Snapshot `Changelog > getCommitInfos > parse commits with different tags 1` mismatched
- Expected
+ Received
@@ -44,33 +44,13 @@
"message": "Merge pull request #2 from my-feature",
"packages": [],
"tags": undefined,
},
{
- "categories": [
- ":rocket: New Feature",
- ],
- "commitSHA": "a0000003",
- "date": "2017-01-01",
- "githubIssue": {
- "labels": [
- {
- "name": "Type: New Feature",
- },
- {
- "name": "Status: In Progress",
- },
- ],
- "number": 2,
- "title": "feat(module) Add new module (#2)",
- "user": {
- "html_url": "https://github.com/test-user",
- "login": "test-user",
- "name": "Test User",
- },
- },
- "issueNumber": "2",
+ "commitSHA": "a0000003",
+ "date": "2017-01-01",
+ "issueNumber": null,
"message": "feat(module) Add new module (#2)",
"packages": [],
"tags": undefined,
},
{
❯ src/changelog.spec.js:196:27
|
Run pnpm test
Process completed with exit code 1.
|
Run actions/setup-node@v4
Cache not found for keys: node-cache-Windows-x64-pnpm-c06ef1cc5ceb82b370d5b4fbb69cdf93ed7d8ef3c809256780b8f395bcadccd8
|
Loading