Skip to content

Commit

Permalink
Modify reloadSources test
Browse files Browse the repository at this point in the history
  • Loading branch information
srujzs committed Jan 29, 2025
1 parent bc818e2 commit 410cdc3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dwds/test/common/chrome_proxy_service_common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2056,7 +2056,12 @@ void runTests({

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

test('setIsolatePauseMode', () async {
Expand Down

0 comments on commit 410cdc3

Please sign in to comment.