refactor(dart/transform): Remove index_static from hello_world
index_static.js & index_static.html are unnecessary in Js and are now essentially generated via the Dart transformer. The angular transformer is specified in examples/pubspec.yaml; use pub build to create a transformed application that does not use dart:mirrors. Create index_dynamic.js & index_dynamic.html, which are used to test that the app runs equally well with mirrors and without. Closes #495
This commit is contained in:
@ -4,7 +4,7 @@ describe('hello world', function () {
|
||||
afterEach(testUtil.verifyNoBrowserErrors);
|
||||
|
||||
describe('static reflection', function() {
|
||||
var URL = 'examples/src/hello_world/index_static.html';
|
||||
var URL = 'examples/src/hello_world/index.html';
|
||||
|
||||
it('should greet', function() {
|
||||
browser.get(URL);
|
||||
@ -21,7 +21,7 @@ describe('hello world', function () {
|
||||
});
|
||||
|
||||
describe('dynamic reflection', function() {
|
||||
var URL = 'examples/src/hello_world/index.html';
|
||||
var URL = 'examples/src/hello_world/index_dynamic.html';
|
||||
|
||||
it('should greet', function() {
|
||||
browser.get(URL);
|
||||
|
Reference in New Issue
Block a user