diff --git a/test/runtime/samples/dynamic-element-animation-2/_config.js b/test/runtime/samples/dynamic-element-animation-2/_config.js
index 27b28bb34920..d7dec050091c 100644
--- a/test/runtime/samples/dynamic-element-animation-2/_config.js
+++ b/test/runtime/samples/dynamic-element-animation-2/_config.js
@@ -59,7 +59,7 @@ export default {
originalParagraphGetBoundingClientRect;
},
- async test({ assert, component, target, raf }) {
+ async test({ assert, component, raf }) {
// switch tag and things at the same time
await component.update('p', [
{ id: 5, name: 'e' },
diff --git a/test/runtime/samples/if-block-else-update/_config.js b/test/runtime/samples/if-block-else-update/_config.js
index db35ca8488cb..c653b6bbd1c8 100644
--- a/test/runtime/samples/if-block-else-update/_config.js
+++ b/test/runtime/samples/if-block-else-update/_config.js
@@ -1,7 +1,7 @@
export default {
- async test({ assert, component, target, window }) {
+ async test({ assert, target, window }) {
const [btn1, btn2] = target.querySelectorAll('button');
-
+
const clickEvent = new window.MouseEvent('click');
await btn2.dispatchEvent(clickEvent);
@@ -23,7 +23,7 @@ export default {
foo!
`);
-
+
await btn2.dispatchEvent(clickEvent);
assert.htmlEqual(target.innerHTML, `
@@ -33,7 +33,7 @@ export default {
foo!
`);
-
+
await btn1.dispatchEvent(clickEvent);
assert.htmlEqual(target.innerHTML, `
diff --git a/test/runtime/samples/inline-style/_config.js b/test/runtime/samples/inline-style/_config.js
index 192659346c71..aae0dafa7477 100644
--- a/test/runtime/samples/inline-style/_config.js
+++ b/test/runtime/samples/inline-style/_config.js
@@ -3,7 +3,7 @@ export default {
`,
- test({ assert, component, target, window }) {
+ test({ assert, target, window }) {
const div = target.querySelector('div');
const styles = window.getComputedStyle(div);
diff --git a/test/runtime/samples/key-block-component-slot/_config.js b/test/runtime/samples/key-block-component-slot/_config.js
index 8fbbeaec643a..d08ff11af975 100644
--- a/test/runtime/samples/key-block-component-slot/_config.js
+++ b/test/runtime/samples/key-block-component-slot/_config.js
@@ -5,7 +5,7 @@ export default {
props: {
logs
},
- async test({ assert, component, target, raf }) {
+ async test({ assert, target }) {
assert.deepEqual(logs, ['mount']);
const button = target.querySelector('button');