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

Unified Diff: sky/tests/modules/modules.sky

Issue 1215063003: Remove Sky tests that we don't intend to port to the new world (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: sky/tests/modules/modules.sky
diff --git a/sky/tests/modules/modules.sky b/sky/tests/modules/modules.sky
deleted file mode 100644
index baccb20e383ae917f0ab8364af387b43870765f9..0000000000000000000000000000000000000000
--- a/sky/tests/modules/modules.sky
+++ /dev/null
@@ -1,25 +0,0 @@
-<html>
-<import src="../resources/chai.sky" />
-<import src="../resources/mocha.sky" />
-<script>
-describe('Module', function() {
- it('should be constructable', function() {
- var doc1 = new Document();
- var app = new Application(doc1, "http://www.example.com/app");
-
- var doc2 = new Document();
- var module = new Module(app, doc2, "http://www.example.com/module");
- assert.equal(module.application, app);
- assert.equal(module.document, doc2);
- assert.equal(module.url, "http://www.example.com/module");
- });
-
- it('should have an empty object by default for exports', function() {
- var app = new Application(new Document(), "http://www.example.com/app");
- var module = new Module(app, new Document(), "http://www.example.com/module");
- assert.isObject(module.exports);
- assert.lengthOf(Object.keys(module.exports), 0);
- });
-});
-</script>
-</html>

Powered by Google App Engine
This is Rietveld 408576698