diff --git a/test/parser/samples/non-unique-attribute-event-handler/input.svelte b/test/parser/samples/non-unique-attribute-event-handler/input.svelte
deleted file mode 100644
index b13403f77d..0000000000
--- a/test/parser/samples/non-unique-attribute-event-handler/input.svelte
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/test/parser/samples/non-unique-attribute-event-handler/output.json b/test/parser/samples/non-unique-attribute-event-handler/output.json
deleted file mode 100644
index 9579fe5b4c..0000000000
--- a/test/parser/samples/non-unique-attribute-event-handler/output.json
+++ /dev/null
@@ -1,96 +0,0 @@
-{
- "html": {
- "start": 0,
- "end": 87,
- "type": "Fragment",
- "children": [
- {
- "start": 0,
- "end": 87,
- "type": "Element",
- "name": "button",
- "attributes": [
- {
- "start": 8,
- "end": 45,
- "type": "EventHandler",
- "name": "click",
- "modifiers": [],
- "expression": {
- "type": "ArrowFunctionExpression",
- "start": 19,
- "end": 43,
- "id": null,
- "expression": true,
- "generator": false,
- "async": false,
- "params": [],
- "body": {
- "type": "AssignmentExpression",
- "start": 25,
- "end": 43,
- "operator": "=",
- "left": {
- "type": "Identifier",
- "start": 25,
- "end": 32,
- "name": "visible"
- },
- "right": {
- "type": "UnaryExpression",
- "start": 35,
- "end": 43,
- "operator": "!",
- "prefix": true,
- "argument": {
- "type": "Identifier",
- "start": 36,
- "end": 43,
- "name": "visible"
- }
- }
- }
- }
- },
- {
- "start": 46,
- "end": 77,
- "type": "EventHandler",
- "name": "click",
- "modifiers": [],
- "expression": {
- "type": "ArrowFunctionExpression",
- "start": 57,
- "end": 75,
- "id": null,
- "expression": true,
- "generator": false,
- "async": false,
- "params": [],
- "body": {
- "type": "AssignmentExpression",
- "start": 63,
- "end": 75,
- "operator": "=",
- "left": {
- "type": "Identifier",
- "start": 63,
- "end": 67,
- "name": "ajax"
- },
- "right": {
- "type": "Literal",
- "start": 70,
- "end": 75,
- "value": false,
- "raw": "false"
- }
- }
- }
- }
- ],
- "children": []
- }
- ]
- }
-}
diff --git a/test/runtime/samples/event-handler-multiple/_config.js b/test/runtime/samples/event-handler-multiple/_config.js
new file mode 100644
index 0000000000..cf17c61f60
--- /dev/null
+++ b/test/runtime/samples/event-handler-multiple/_config.js
@@ -0,0 +1,14 @@
+export default {
+ html: `
+
+ `,
+
+ async test({ assert, component, target, window }) {
+ const button = target.querySelector('button');
+ const event = new window.MouseEvent('click');
+
+ await button.dispatchEvent(event);
+ assert.equal(component.clickHandlerOne, 1);
+ assert.equal(component.clickHandlerTwo, 1);
+ }
+};
diff --git a/test/runtime/samples/event-handler-multiple/main.svelte b/test/runtime/samples/event-handler-multiple/main.svelte
new file mode 100644
index 0000000000..f327a7fd2a
--- /dev/null
+++ b/test/runtime/samples/event-handler-multiple/main.svelte
@@ -0,0 +1,6 @@
+
+
+