OLD | NEW |
(Empty) | |
| 1 import '../descriptor.dart' as d; |
| 2 import '../test_pub.dart'; |
| 3 import '../serve/utils.dart'; |
| 4 main() { |
| 5 initConfig(); |
| 6 integration("ignores a Dart entrypoint in a dependency", () { |
| 7 d.dir( |
| 8 "foo", |
| 9 [ |
| 10 d.libPubspec("foo", "0.0.1"), |
| 11 d.dir("lib", [d.file("lib.dart", "main() => print('foo');")])]).crea
te(); |
| 12 d.dir(appPath, [d.appPubspec({ |
| 13 "foo": { |
| 14 "path": "../foo" |
| 15 } |
| 16 })]).create(); |
| 17 pubServe(shouldGetFirst: true); |
| 18 requestShould404("web/packages/foo/lib.dart.js"); |
| 19 endPubServe(); |
| 20 }); |
| 21 } |
OLD | NEW |