Skip to content

Remove index.js from tests#1366

Merged
matux merged 1 commit into
feature/matux/streaming-capturefrom
matux/remove-test-index
Oct 11, 2025
Merged

Remove index.js from tests#1366
matux merged 1 commit into
feature/matux/streaming-capturefrom
matux/remove-test-index

Conversation

@matux

@matux matux commented Oct 11, 2025

Copy link
Copy Markdown
Contributor

Description of the change

Note

This is being merged into a feature branch:
feature/matux/streaming-capture

This PR removes some index.js files that were making WTR check several tests twice.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Maintenance
  • New release

@matux matux requested a review from Copilot October 11, 2025 13:30
@matux matux self-assigned this Oct 11, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes index.js files from the test directory structure to prevent Web Test Runner (WTR) from executing tests multiple times due to duplicate test exports.

  • Removes three index.js files that were re-exporting test modules
  • Eliminates test duplication in the replay test suite
  • Maintains test functionality while improving test runner efficiency

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
test/replay/unit/index.js Removes unit test aggregator that exported replay manager, API, and queue tests
test/replay/integration/index.js Removes integration test aggregator that exported session recording, API, replay manager, queue, and e2e tests
test/replay/index.js Removes top-level test aggregator that exported both unit and integration test modules

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Base automatically changed from matux/rename-cursor to feature/matux/streaming-capture October 11, 2025 15:07
@matux matux force-pushed the matux/remove-test-index branch from 0dcae0a to bbeee13 Compare October 11, 2025 15:09
@matux matux force-pushed the feature/matux/streaming-capture branch from b9d39b3 to 02a9fd7 Compare October 11, 2025 15:14
@matux matux force-pushed the matux/remove-test-index branch from bbeee13 to 66c7036 Compare October 11, 2025 15:15
@matux matux requested a review from waltjones October 11, 2025 15:16
@matux matux merged commit 8bc3769 into feature/matux/streaming-capture Oct 11, 2025
6 checks passed
@matux matux deleted the matux/remove-test-index branch October 11, 2025 15:19
matux added a commit that referenced this pull request Oct 13, 2025
matux added a commit that referenced this pull request Oct 13, 2025
* Add _pendingContextIfReady and rename cursor in context (#1364)
* Remove index.js from tests (#1366)
* Init logger on replay integration tests to log errors (#1367)
* Rethrow span export errors to prevent unnecessary sendIfReady calls (#1368)
* Call _onComplete on all leading replay discard paths (#1369)
* `ScheduledStreamCapture` to survive multiple rrweb checkouts (#1371)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants