fix: removes the proxy and adds a polling mechanism for js-core package #95
Annotations
4 errors and 2 warnings
|
Test
Process completed with exit code 1.
|
|
src/index.test.ts > formbricks > should handle multiple concurrent method calls:
packages/js/src/index.test.ts#L127
AssertionError: expected "vi.fn()" to be called with arguments: [ 'track', 'event1' ]
Received:
1st vi.fn() call:
[
- "track",
- "event1",
+ "setEmail",
+ "test@example.com",
]
2nd vi.fn() call:
[
- "track",
- "event1",
+ "setAttribute",
+ "userId",
+ "user123",
]
3rd vi.fn() call:
[
"track",
"event1",
+ undefined,
]
4th vi.fn() call:
[
- "track",
- "event1",
+ "setLanguage",
+ "en",
]
Number of calls: 4
❯ src/index.test.ts:127:28
|
|
src/index.test.ts > formbricks > should delegate track to callMethod:
packages/js/src/index.test.ts#L43
AssertionError: expected "vi.fn()" to be called with arguments: [ 'track', 'button-click' ]
Received:
1st vi.fn() call:
[
"track",
"button-click",
+ undefined,
]
Number of calls: 1
❯ src/index.test.ts:43:28
|
|
Test
@formbricks/js#test: command (/home/runner/work/js/js/packages/js) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
|
Test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af, pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda, step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Test
Failed to restore: Cache service responded with 400
|