Skip to content

Conversation

@jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Feb 28, 2020

Description

Fixes #49838

Allow debug mode web applications to run test scripts and other files not under lib/. Adds an integration test for this, as well as for conditional imports.

@fluttergithubbot fluttergithubbot added tool Affects the "flutter" command-line tool. See also t: labels. work in progress; do not review labels Feb 28, 2020
@jonahwilliams jonahwilliams marked this pull request as ready for review February 28, 2020 20:30
@fluttergithubbot fluttergithubbot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Feb 28, 2020
message = '--- TEST FAILED ---';
}
print(message);
html.HttpRequest.request(
Copy link
Contributor

Choose a reason for hiding this comment

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

Since you don't have a specialized localhost server that understands this protocol, this is not needed. I only needed this in the other test because for release and profile mode I didn't (couldn't) use flutter run.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ahh, perfect!

@fluttergithubbot fluttergithubbot merged commit 9b4159c into flutter:master Feb 28, 2020
@jonahwilliams jonahwilliams deleted the allow_run_test branch February 28, 2020 22:21
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

c: contributor-productivity Team-specific productivity, code health, technical debt. tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't run flutter run -d chrome test/foo_test.dart

4 participants