Skip to content

Create NPM Release

Create NPM Release #9

Manually triggered March 25, 2025 10:57
Status Failure
Total duration 18s
Artifacts

release.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

4 errors
release
Process completed with exit code 1.
src/tools/getUsageTool.test.js > getUsageTool > should handle API errors: src/tools/getUsageTool.test.js#L80
AssertionError: expected 'Error getting usage report from Cloud…' to contain 'API Error: Invalid date format' Expected: "API Error: Invalid date format" Received: "Error getting usage report from Cloudinary: cloudinary.api.usage is not a function (cloud: test-cloud, key: test...)" ❯ src/tools/getUsageTool.test.js:80:34
src/tools/getUsageTool.test.js > getUsageTool > should successfully get usage data with date parameter: src/tools/getUsageTool.test.js#L64
AssertionError: expected "spy" to be called with arguments: [ { date: '2023-04-15' } ] Received: Number of calls: 0 ❯ src/tools/getUsageTool.test.js:64:32
src/tools/getUsageTool.test.js > getUsageTool > should successfully get usage data without date parameter: src/tools/getUsageTool.test.js#L38
AssertionError: expected "spy" to be called with arguments: [ {} ] Received: Number of calls: 0 ❯ src/tools/getUsageTool.test.js:38:32