Skip to content

publish to npm

publish to npm #54

Manually triggered June 7, 2024 18:56
Status Failure
Total duration 1m 52s
Artifacts

publish.yml

on: workflow_dispatch

Annotations

2 errors and 1 warning
src/tracking.test.js > tracking cases > should call metric counter on window load: src/tracking.test.js#L63
AssertionError: expected "metricCounter" to be called with arguments: [ ObjectContaining{…} ] Received: 1st metricCounter call: Array [ - ObjectContaining { - "dimensions": ObjectContaining { - "isPayPalDomain": "false", + Object { + "dimensions": Object { + "components": "buttons", + "integrationSource": "none", + "jsSdkLibrary": "none", + "localStorageEnabled": true, + "pageType": "none", + "token": "none", + "userAction": "commit", + "version": "1.0.45", }, + "event": "init", "namespace": "sdk_client.init.count", }, ] Number of calls: 1 ❯ src/tracking.test.js:63:30
main
Process completed with exit code 1.
main
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.