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 000000000000..87d7c599ce33 --- /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 000000000000..fa1db69c9627 --- /dev/null +++ b/test/runtime/samples/onstate-no-template/main.html @@ -0,0 +1,7 @@ +