Skip to content

Commit

Permalink
fixed CI failures and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmathur-wk committed May 16, 2024
1 parent afabce3 commit 57f5437
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 576 deletions.
3 changes: 2 additions & 1 deletion example/test/react_test_components.dart
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ class _ClockComponent extends react.Component {

@override
render() {
return react.span({'onClick': (event) => print('Hello World!')},
return react.span(
{'onClick': (event) => print('Hello World!')},
// { 'onClick': (event, [domid = null]) => print("Hello World!") },
['Seconds elapsed: ', "${state['secondsElapsed']}"]);
}
Expand Down
2 changes: 1 addition & 1 deletion test/js_builds/shared_tests.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import 'package:react/src/react_client/internal_react_interop.dart';
import 'package:test/test.dart';

void verifyJsFileLoaded(String filename) {
final isLoaded = document.getElementsByTagName('script').any()((script) {
final isLoaded = document.getElementsByTagName('script').any((script) {
return Uri.parse((script as ScriptElement).src).pathSegments.last == filename;
});

Expand Down
16 changes: 0 additions & 16 deletions test/mockito.dart

This file was deleted.

Loading

0 comments on commit 57f5437

Please sign in to comment.