provide a basic acceptance test #185
Annotations
2 errors
Run pnpm test:
tests/basic-acceptance.test.js#L11
Error: Command failed with exit code 1: C:\hostedtoolcache\windows\node\22.14.0\x64\node.exe --conditions node --conditions development ./bin/cli.js --from=ee1c697fcf871114c53e9847c43e221d3056f19d --to=b20002d9760e9e212bc623c8f3f42931ddc01bda
Error: Command failed with exit code 128: git log --oneline --pretty=hash<%h> ref<%D> message<%s> date<%cd> --date=short --first-parent ee1c697fcf871114c53e9847c43e221d3056f19d..b20002d9760e9e212bc623c8f3f42931ddc01bda
fatal: Invalid revision range ee1c697fcf871114c53e9847c43e221d3056f19d..b20002d9760e9e212bc623c8f3f42931ddc01bda
at makeError (D:\a\github-changelog\github-changelog\node_modules\.pnpm\execa@5.1.1\node_modules\execa\lib\error.js:60:11)
at module.exports.sync (D:\a\github-changelog\github-changelog\node_modules\.pnpm\execa@5.1.1\node_modules\execa\index.js:194:17)
at Object.listCommits (D:\a\github-changelog\github-changelog\lib\git.js:49:10)
at Changelog.getListOfCommits (D:\a\github-changelog\github-changelog\lib\changelog.js:90:20)
at Changelog.<anonymous> (D:\a\github-changelog\github-changelog\lib\changelog.js:40:34)
at Generator.next (<anonymous>)
at D:\a\github-changelog\github-changelog\lib\changelog.js:8:71
at new Promise (<anonymous>)
at __awaiter (D:\a\github-changelog\github-changelog\lib\changelog.js:4:12)
at Changelog.getCommitInfos (D:\a\github-changelog\github-changelog\lib\changelog.js:39:16)
❯ makeError node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js:60:11
❯ module.exports.sync node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js:194:17
❯ Object.listCommits lib/git.js:49:10
❯ Changelog.getListOfCommits lib/changelog.js:90:20
❯ Changelog.<anonymous> lib/changelog.js:40:34
❯ lib/changelog.js:8:71
❯ __awaiter lib/changelog.js:4:12
❯ Changelog.getCommitInfos lib/changelog.js:39:16
❯ makeError node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js:60:11
❯ handlePromise node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js:118:26
❯ tests/basic-acceptance.test.js:11:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { shortMessage: 'Command failed with exit code 1: C:\hostedtoolcache\windows\node\22.14.0\x64\node.exe --conditions node --conditions development ./bin/cli.js --from=ee1c697fcf871114c53e9847c43e221d3056f19d --to=b20002d9760e9e212bc623c8f3f42931ddc01bda', command: 'C:\hostedtoolcache\windows\node\22.14.0\x64\node.exe --conditions node --conditions development ./bin/cli.js --from=ee1c697fcf871114c53e9847c43e221d3056f19d --to=b20002d9760e9e212bc623c8f3f42931ddc01bda', escapedCommand: '"C:\hostedtoolcache\windows\node\22.14.0\x64\node.exe" --conditions node --conditions development "./bin/cli.js" "--from=ee1c697fcf871114c53e9847c43e221d3056f19d" "--to=b20002d9760e9e212bc623c8f3f42931ddc01bda"', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: 'Error: Command failed with exit code 128: git log --oneline --pretty=hash<%h> ref<%D> message<%s> date<%cd> --date=short --first-parent ee1c697fcf871114c53e9847c43e221d3056f19d..b20002d9760e9e212bc623c8f3f42931ddc01bda\nfatal: Invalid revision range ee1c697fcf871114c53e9847c43e221d3056f19d..b20002d9760e9e212bc623c8f3f42931ddc01bda\n at makeError (D:\a\github-changelog\github-changelog\node_modules\.pnpm\execa@5.1.1\node_modules\execa\lib\error.js:60:11)\n at module.exports.sync (D:\a\github-changelog\github-changelog\node_modules\.pnpm\execa@5.1.1\node_modules\execa\index.js:194:17)\n at Object.listCommits (D:\a\github-changelog\github-changelog\lib\git.js:49:10)\n at Changelog.getListOfCommits (D:\a\github-changelog\github-changelog\lib\changelog.js:90:20)\n at Changelog.<anonymous> (D:\a\github-changelog\github-changelog\lib\changelog.js:40:34)\n at Generator.next (<anonymous>)\n at D:\a\github-changelog\github-changelog\lib\changelog.js:8:71\n at new Promise (<anonymous>)\n at __awaiter (D:\a\github-changelog\github-changelog\lib\changelog.js:4:12)\n at Changelog.getCommitInfos (D:\a\github-changelog\github-changelog\lib\changelog.js:39:16)', stderr: '', failed: true, time
|
Run pnpm test
Process completed with exit code 1.
|
Loading