From 6c854a6d577ed73471afb835ab02271e9007f8d6 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Wed, 21 Nov 2018 16:43:39 -0500 Subject: [PATCH] remove test - invalid identifiers will no longer work --- .../Counter.html | 11 ------- .../_config.js | 29 ------------------- .../main.html | 8 ----- 3 files changed, 48 deletions(-) delete mode 100644 test/runtime/samples/component-binding-invalid-identifier/Counter.html delete mode 100644 test/runtime/samples/component-binding-invalid-identifier/_config.js delete mode 100644 test/runtime/samples/component-binding-invalid-identifier/main.html diff --git a/test/runtime/samples/component-binding-invalid-identifier/Counter.html b/test/runtime/samples/component-binding-invalid-identifier/Counter.html deleted file mode 100644 index e2293b4a8d..0000000000 --- a/test/runtime/samples/component-binding-invalid-identifier/Counter.html +++ /dev/null @@ -1,11 +0,0 @@ - - - \ No newline at end of file diff --git a/test/runtime/samples/component-binding-invalid-identifier/_config.js b/test/runtime/samples/component-binding-invalid-identifier/_config.js deleted file mode 100644 index e74a8388b1..0000000000 --- a/test/runtime/samples/component-binding-invalid-identifier/_config.js +++ /dev/null @@ -1,29 +0,0 @@ -export default { - 'skip-ssr': true, // TODO delete this line, once binding works - - html: ` - -

count: 0

- `, - - test ( assert, component, target, window ) { - const click = new window.MouseEvent( 'click' ); - const button = target.querySelector( 'button' ); - - button.dispatchEvent( click ); - - assert.equal( component.x, 1 ); - assert.htmlEqual( target.innerHTML, ` - -

count: 1

- ` ); - - button.dispatchEvent( click ); - - assert.equal( component.x, 2 ); - assert.htmlEqual( target.innerHTML, ` - -

count: 2

- ` ); - } -}; diff --git a/test/runtime/samples/component-binding-invalid-identifier/main.html b/test/runtime/samples/component-binding-invalid-identifier/main.html deleted file mode 100644 index dd03f0ce2b..0000000000 --- a/test/runtime/samples/component-binding-invalid-identifier/main.html +++ /dev/null @@ -1,8 +0,0 @@ - - - -

count: {x}

\ No newline at end of file