diff --git a/pubspec.yaml b/pubspec.yaml index 03af084e..68a304e2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -26,6 +26,7 @@ dependencies: uuid: '>=0.4.0 <0.5.0' dev_dependencies: + browser: any ghpages_generator: any grinder: '>=0.6.0 <0.7.0' unittest: any diff --git a/test/cli_test.dart b/test/cli_test.dart index 06d2f639..8bd02dc4 100644 --- a/test/cli_test.dart +++ b/test/cli_test.dart @@ -13,8 +13,6 @@ import 'package:stagehand/src/cli_app.dart'; import 'package:unittest/unittest.dart'; import 'package:usage/usage.dart'; -void main() => defineTests(); - void defineTests() { group('cli', () { CliApp app; diff --git a/test/common_test.dart b/test/common_test.dart index 3e46d02c..27e7abea 100644 --- a/test/common_test.dart +++ b/test/common_test.dart @@ -7,8 +7,6 @@ library stagehand.common_test; import 'package:stagehand/src/common.dart'; import 'package:unittest/unittest.dart'; -void main() => defineTests(); - void defineTests() { group('common', () { test('normalizeProjectName', () { @@ -31,8 +29,11 @@ void defineTests() { test('convertToYamlMultiLine', () { expect( - convertToYamlMultiLine('one two three four five size seven eight nine ten eleven twelve thirteen fourteen fifteen'), - ' one two three four five size seven eight nine ten eleven twelve thirteen\n fourteen fifteen'); + convertToYamlMultiLine( + 'one two three four five size seven eight nine ' + 'ten eleven twelve thirteen fourteen fifteen'), + ' one two three four five size seven eight nine ten eleven twelve ' + 'thirteen\n fourteen fifteen'); }); }); } diff --git a/test/generators_test.dart b/test/generators_test.dart index daf8548b..7ab1e81c 100644 --- a/test/generators_test.dart +++ b/test/generators_test.dart @@ -7,8 +7,6 @@ library stagehand.generators_test; import 'package:stagehand/stagehand.dart'; import 'package:unittest/unittest.dart'; -void main() => defineTests(); - void defineTests() { group('generators', () { generators.forEach((generator) { diff --git a/test/web.html b/test/web.html new file mode 100644 index 00000000..c5b4942f --- /dev/null +++ b/test/web.html @@ -0,0 +1,19 @@ + + + + + +
+ + +