Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve audit tests #1919

Merged
merged 1 commit into from
May 16, 2024
Merged

improve audit tests #1919

merged 1 commit into from
May 16, 2024

Conversation

patricklx
Copy link
Contributor

No description provided.

@@ -108,7 +108,7 @@ export default class CommandWatcher {
return;
}

this.process.kill();
Copy link
Contributor Author

@patricklx patricklx May 16, 2024

Choose a reason for hiding this comment

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

vite needs to be killed with SIGINT (default is SIGTERM), otherwise it leaves the server subprocess running, which then leaves the port open

});

return {
async rerun() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

for tests that change files while vite dev is running we need to be able to rerun the vistors

@ef4 ef4 added the internal label May 16, 2024
@ef4 ef4 merged commit 3beedad into embroider-build:main May 16, 2024
103 checks passed
@patricklx patricklx deleted the improve-audit branch May 16, 2024 11:35
@github-actions github-actions bot mentioned this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants