Skip to content

[FSSDK-12089] run tests in browser using vitest #1476

[FSSDK-12089] run tests in browser using vitest

[FSSDK-12089] run tests in browser using vitest #1476

Triggered via pull request December 19, 2025 06:41
Status Failure
Total duration 13m 36s
Artifacts

javascript.yml

on: pull_request
Matrix: unit_tests
lint_markdown_files  /  lint
1m 15s
lint_markdown_files / lint
lint
1m 50s
lint
integration_tests  /  test
8s
integration_tests / test
fullstack_production_suite  /  test
7s
fullstack_production_suite / test
Matrix: browser_tests
Coveralls coverage
0s
Coveralls coverage
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 10 warnings
lint
Process completed with exit code 1.
lint: lib/project_config/config_manager_factory.react_native.spec.ts#L26
Require statement not part of import statement
unit_tests (24)
Process completed with exit code 1.
lib/core/bucketer/index.spec.ts > including groups: overlapping > should return decision response with variation when a user falls into an experiment within an overlapping group: lib/core/bucketer/index.spec.ts#L259
AssertionError: expected '554' to be '553' // Object.is equality Expected: "553" Received: "554" ❯ lib/core/bucketer/index.spec.ts:259:37
lib/core/bucketer/index.spec.ts > including groups: random > should return decision response with variation null when a user is bucketed into a different grouped experiment than the one speicfied: lib/core/bucketer/index.spec.ts#L176
AssertionError: expected "spy" to be called with arguments: [ …(4) ] Received: 1st spy call: [ - "User %s is not in experiment %s of group %s.", + "User %s is not in any experiment of group %s.", "testUser", - "groupExperiment1", "666", ] Number of calls: 1 ❯ lib/core/bucketer/index.spec.ts:176:29
lib/core/bucketer/index.spec.ts > including groups: random > should return decision response with the proper variation for a user in a grouped experiment: lib/core/bucketer/index.spec.ts#L155
AssertionError: expected null to be '551' // Object.is equality - Expected: "551" + Received: null ❯ lib/core/bucketer/index.spec.ts:155:37
unit_tests (22)
The strategy configuration was canceled because "unit_tests._24" failed
unit_tests (22)
The operation was canceled.
lib/core/bucketer/index.spec.ts > including groups: overlapping > should return decision response with variation when a user falls into an experiment within an overlapping group: lib/core/bucketer/index.spec.ts#L259
AssertionError: expected '554' to be '553' // Object.is equality Expected: "553" Received: "554" ❯ lib/core/bucketer/index.spec.ts:259:37
lib/core/bucketer/index.spec.ts > including groups: random > should return decision response with variation null when a user is bucketed into a different grouped experiment than the one speicfied: lib/core/bucketer/index.spec.ts#L176
AssertionError: expected "spy" to be called with arguments: [ …(4) ] Received: 1st spy call: [ - "User %s is not in experiment %s of group %s.", + "User %s is not in any experiment of group %s.", "testUser", - "groupExperiment1", "666", ] Number of calls: 1 ❯ lib/core/bucketer/index.spec.ts:176:29
lib/core/bucketer/index.spec.ts > including groups: random > should return decision response with the proper variation for a user in a grouped experiment: lib/core/bucketer/index.spec.ts#L155
AssertionError: expected null to be '551' // Object.is equality - Expected: "551" + Received: null ❯ lib/core/bucketer/index.spec.ts:155:37
unit_tests (18)
The strategy configuration was canceled because "unit_tests._24" failed
unit_tests (18)
The operation was canceled.
unit_tests (20)
The strategy configuration was canceled because "unit_tests._24" failed
unit_tests (20)
The operation was canceled.
browser_tests (firefox)
Process completed with exit code 1.
browser_tests (edge)
The strategy configuration was canceled because "browser_tests.firefox" failed
browser_tests (edge)
The operation was canceled.
browser_tests (safari)
The strategy configuration was canceled because "browser_tests.firefox" failed
browser_tests (safari)
The operation was canceled.
browser_tests (chrome)
The strategy configuration was canceled because "browser_tests.firefox" failed
browser_tests (chrome)
The operation was canceled.
lint: lib/client_factory.spec.ts#L47
Unexpected any. Specify a different type
lint: lib/client_factory.spec.ts#L46
Unexpected any. Specify a different type
lint: lib/client_factory.spec.ts#L42
Unexpected any. Specify a different type
lint: lib/client_factory.spec.ts#L41
Unexpected any. Specify a different type
lint: lib/client_factory.spec.ts#L37
Unexpected any. Specify a different type
lint: lib/client_factory.spec.ts#L36
Unexpected any. Specify a different type
lint: lib/client_factory.spec.ts#L32
Unexpected any. Specify a different type
lint: lib/client_factory.spec.ts#L31
Unexpected any. Specify a different type
lint: lib/client_factory.spec.ts#L27
Unexpected any. Specify a different type
lint: lib/client_factory.spec.ts#L26
Unexpected any. Specify a different type