Skip to content

Conversation

@khawkins
Copy link
Collaborator

@khawkins khawkins commented Jul 10, 2024

What does this PR do?

  • Commented out the test in index.e2e.test.ts that calls lwc-dev-server's stopServer(), since that's erroneously exiting the calling process and making all the tests "pass", whether they're successful or not.
  • Fixed tasks.json to call our existing test compilation, so we can run tests from VSCode.

What issues does this PR fix or reference?

@W-16207529@ - Issues with test runs always succeeding, even with failures.

- Commented out the test in index.e2e.test.ts that calls lwc-dev-server's stopServer(), since
  that's erroneously exiting the calling process and making all the tests "pass", whether
  they're successful or not.
- Fixed tasks.json to call our existing test compilation, so we can run tests from VSCode.
@khawkins khawkins requested a review from a team as a code owner July 10, 2024 22:19
@khawkins khawkins changed the title fix: shoring up test running functionality @W-16207529@ fix: shoring up test running functionality Jul 10, 2024
@khawkins khawkins merged commit 40c57a8 into main Jul 10, 2024
@khawkins khawkins deleted the fix_test_runs branch July 10, 2024 22:44
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