flutter_flutter/tests/modules/application.sky
Adam Barth bdf6f5c3e6 Add Module and Application interfaces
These interfaces are currently unused by the engine, but they are
constructable.  See apis.md for details.

R=eseidel@chromium.org

Review URL: https://codereview.chromium.org/697873007
2014-11-10 14:16:56 -08:00

15 lines
397 B
Plaintext

<html>
<import src="../resources/chai.sky" />
<import src="../resources/mocha.sky" />
<script>
describe('Application', function() {
it('should have a constructor', function() {
var doc = new Document();
var app = new Application(doc, "http://www.example.com/app");
assert.equal(app.document, doc);
assert.equal(app.url, "http://www.example.com/app");
});
});
</script>
</html>