Skip to content

Commit 410cdc3

Browse files
committed
Modify reloadSources test
1 parent bc818e2 commit 410cdc3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

dwds/test/common/chrome_proxy_service_common.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2056,7 +2056,12 @@ void runTests({
20562056

20572057
test('reloadSources', () async {
20582058
final service = context.service;
2059-
await expectLater(service.reloadSources(''), throwsRPCError);
2059+
final report = await service.reloadSources('');
2060+
// TODO(srujzs): This naturally fails regardless of the module format
2061+
// because we didn't set up prerequisite state (the reload scripts). We
2062+
// should create new tests for hot reload within DWDS and remove this
2063+
// test.
2064+
expect(report.success, false);
20602065
});
20612066

20622067
test('setIsolatePauseMode', () async {

0 commit comments

Comments
 (0)