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

Side by Side Diff: sky/tests/events/gesture-events.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, 5 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
OLDNEW
(Empty)
1 <sky>
2 <import src="../resources/chai.sky" />
3 <import src="../resources/mocha.sky" />
4 <div id="target" />
5 <script>
6 describe("Gesture events", function() {
7 it("should be creatable", function() {
8 var event = new GestureEvent("tap");
9 assert.ok(event);
10 });
11
12 it("should be dispatchable", function() {
13 var div = document.getElementById("target");
14 var marker = false;
15 div.addEventListener("tap", function(event) {
16 assert.instanceOf(event, GestureEvent);
17 marker = true;
18 });
19 div.dispatchEvent(new GestureEvent("tap"));
20 assert.isTrue(marker);
21 });
22 });
23 </script>
24 </sky>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698