OLD | NEW |
(Empty) | |
| 1 import 'package:scheduled_test/scheduled_test.dart'; |
| 2 import '../descriptor.dart' as d; |
| 3 import '../test_pub.dart'; |
| 4 import '../serve/utils.dart'; |
| 5 main() { |
| 6 initConfig(); |
| 7 integration("supports most dart2js command-line options", () { |
| 8 d.dir(appPath, [d.pubspec({ |
| 9 "name": "myapp", |
| 10 "transformers": [{ |
| 11 "\$dart2js": { |
| 12 "commandLineOptions": ["--enable-diagnostic-colors"], |
| 13 "checked": true, |
| 14 "csp": true, |
| 15 "minify": true, |
| 16 "verbose": true, |
| 17 "environment": { |
| 18 "name": "value" |
| 19 }, |
| 20 "analyzeAll": true, |
| 21 "suppressWarnings": true, |
| 22 "suppressHints": true, |
| 23 "suppressPackageWarnings": false, |
| 24 "terse": true |
| 25 } |
| 26 }] |
| 27 })]).create(); |
| 28 pubServe(); |
| 29 requestShouldSucceed("main.dart.js", isNot(isEmpty)); |
| 30 endPubServe(); |
| 31 }); |
| 32 } |
OLD | NEW |