diff --git a/test/runtime/samples/bindings-before-oncreate/One.html b/test/runtime/samples/bindings-before-oncreate/One.html new file mode 100644 index 0000000000..3a1ff8a008 --- /dev/null +++ b/test/runtime/samples/bindings-before-oncreate/One.html @@ -0,0 +1,15 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/bindings-before-oncreate/Two.html b/test/runtime/samples/bindings-before-oncreate/Two.html new file mode 100644 index 0000000000..f6fc00fcaf --- /dev/null +++ b/test/runtime/samples/bindings-before-oncreate/Two.html @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/test/runtime/samples/bindings-before-oncreate/_config.js b/test/runtime/samples/bindings-before-oncreate/_config.js new file mode 100644 index 0000000000..e9e09c678d --- /dev/null +++ b/test/runtime/samples/bindings-before-oncreate/_config.js @@ -0,0 +1,5 @@ +export default { + test(assert, component) { + assert.equal(component.refs.one.snapshot, 2); + } +}; \ No newline at end of file diff --git a/test/runtime/samples/bindings-before-oncreate/main.html b/test/runtime/samples/bindings-before-oncreate/main.html new file mode 100644 index 0000000000..02746ecc51 --- /dev/null +++ b/test/runtime/samples/bindings-before-oncreate/main.html @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/test/runtime/samples/oncreate-before-bindings/Nested.html b/test/runtime/samples/flush-before-bindings/Nested.html similarity index 100% rename from test/runtime/samples/oncreate-before-bindings/Nested.html rename to test/runtime/samples/flush-before-bindings/Nested.html diff --git a/test/runtime/samples/oncreate-before-bindings/Visibility.html b/test/runtime/samples/flush-before-bindings/Visibility.html similarity index 100% rename from test/runtime/samples/oncreate-before-bindings/Visibility.html rename to test/runtime/samples/flush-before-bindings/Visibility.html diff --git a/test/runtime/samples/oncreate-before-bindings/_config.js b/test/runtime/samples/flush-before-bindings/_config.js similarity index 100% rename from test/runtime/samples/oncreate-before-bindings/_config.js rename to test/runtime/samples/flush-before-bindings/_config.js diff --git a/test/runtime/samples/oncreate-before-bindings/counter.js b/test/runtime/samples/flush-before-bindings/counter.js similarity index 100% rename from test/runtime/samples/oncreate-before-bindings/counter.js rename to test/runtime/samples/flush-before-bindings/counter.js diff --git a/test/runtime/samples/oncreate-before-bindings/main.html b/test/runtime/samples/flush-before-bindings/main.html similarity index 100% rename from test/runtime/samples/oncreate-before-bindings/main.html rename to test/runtime/samples/flush-before-bindings/main.html