OLD | NEW |
(Empty) | |
| 1 library pub_tests; |
| 2 import '../descriptor.dart' as d; |
| 3 import '../test_pub.dart'; |
| 4 import 'utils.dart'; |
| 5 main() { |
| 6 initConfig(); |
| 7 integration("watches modifications to files", () { |
| 8 d.dir( |
| 9 appPath, |
| 10 [d.appPubspec(), d.dir("web", [d.file("index.html", "before")])]).create
(); |
| 11 pubServe(); |
| 12 requestShouldSucceed("index.html", "before"); |
| 13 d.dir(appPath, [d.dir("web", [d.file("index.html", "after")])]).create(); |
| 14 waitForBuildSuccess(); |
| 15 requestShouldSucceed("index.html", "after"); |
| 16 endPubServe(); |
| 17 }); |
| 18 } |
OLD | NEW |