Index: pkg/unittest/lib/html_config.dart |
diff --git a/pkg/unittest/lib/html_config.dart b/pkg/unittest/lib/html_config.dart |
index ef23d52da4b79e81d11841133d84c93b3603ffa1..67de52021bd22f0d95cc749656f38c1a39994c01 100644 |
--- a/pkg/unittest/lib/html_config.dart |
+++ b/pkg/unittest/lib/html_config.dart |
@@ -166,7 +166,8 @@ class HtmlConfiguration extends SimpleConfiguration { |
void onDone(bool success) { |
_uninstallHandlers(); |
- window.postMessage('unittest-suite-done', '*'); |
+ window.postMessage( |
+ success ? 'unittest-suite-done' : 'unittest-suite-fail', '*'); |
Jennifer Messerly
2014/03/21 00:27:50
nice! I hit this same line a while back. Didn't fi
Jennifer Messerly
2014/03/21 01:02:35
Aha, here's the history behind this :)
https://cod
|
} |
} |