From 04b1c1102603be635cd1f1d3f26662382a4e224c Mon Sep 17 00:00:00 2001 From: pk Date: Sun, 22 Apr 2018 11:16:56 +0200 Subject: [PATCH] Failing test for #1356 --- test/runtime/samples/onstate-no-template/_config.js | 11 +++++++++++ test/runtime/samples/onstate-no-template/main.html | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 test/runtime/samples/onstate-no-template/_config.js create mode 100644 test/runtime/samples/onstate-no-template/main.html diff --git a/test/runtime/samples/onstate-no-template/_config.js b/test/runtime/samples/onstate-no-template/_config.js new file mode 100644 index 0000000000..87d7c599ce --- /dev/null +++ b/test/runtime/samples/onstate-no-template/_config.js @@ -0,0 +1,11 @@ +export default { + 'skip-ssr': true, + + data: { + foo: 'woo!' + }, + + test(assert, component) { + assert.deepEqual(component.changed, { foo: 1 }); + } +}; diff --git a/test/runtime/samples/onstate-no-template/main.html b/test/runtime/samples/onstate-no-template/main.html new file mode 100644 index 0000000000..fa1db69c96 --- /dev/null +++ b/test/runtime/samples/onstate-no-template/main.html @@ -0,0 +1,7 @@ +