| Index: sky/tests/events/pointer-events.sky
|
| diff --git a/sky/tests/events/pointer-events.sky b/sky/tests/events/pointer-events.sky
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..57ee4e9921a3006264b6a001f9cf4bbd5494db04
|
| --- /dev/null
|
| +++ b/sky/tests/events/pointer-events.sky
|
| @@ -0,0 +1,16 @@
|
| +<sky>
|
| +<import src="../resources/chai.sky" />
|
| +<import src="../resources/mocha.sky" />
|
| +<script>
|
| +describe("Pointer events", function() {
|
| + it("should be constructable", function() {
|
| + var evt = new PointerEvent("pointerdown", {
|
| + kind: "touch",
|
| + });
|
| + assert.ok(evt);
|
| + assert.equal(evt.kind, "touch");
|
| + assert.equal(evt.radiusMajor, 0);
|
| + });
|
| +});
|
| +</script>
|
| +</sky>
|
|
|