Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(738)

Side by Side Diff: sdk/lib/_internal/pub_generated/test/serve/does_not_watch_compiled_js_files_test.dart

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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("does not watch changes to compiled JS files in the package", () {
8 d.dir(
9 appPath,
10 [d.appPubspec(), d.dir("web", [d.file("index.html", "body")])]).create() ;
11 pubServe();
12 waitForBuildSuccess();
13 requestShouldSucceed("index.html", "body");
14 d.dir(
15 appPath,
16 [
17 d.dir(
18 "web",
19 [
20 d.file('file.dart', 'void main() => print("hello");'),
21 d.file("other.dart.js", "should be ignored"),
22 d.file("other.dart.js.map", "should be ignored"),
23 d.file("other.dart.precompiled.js", "should be ignored")])]) .create();
24 waitForBuildSuccess();
25 requestShouldSucceed("file.dart", 'void main() => print("hello");');
26 requestShould404("other.dart.js");
27 requestShould404("other.dart.js.map");
28 requestShould404("other.dart.precompiled.js");
29 endPubServe();
30 });
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698