diff --git a/test/runtime/samples/oncreate-async-arrow-block/_config.js b/test/runtime/samples/oncreate-async-arrow-block/_config.js index ce28992e0a..a5ed4ad14f 100644 --- a/test/runtime/samples/oncreate-async-arrow-block/_config.js +++ b/test/runtime/samples/oncreate-async-arrow-block/_config.js @@ -1,3 +1,3 @@ export default { - skip: +(/^v(\d)/.exec(process.version)[0]) < 8 + skip: +(/^v(\d)/.exec(process.version)[1]) < 8 }; diff --git a/test/runtime/samples/oncreate-async-arrow/_config.js b/test/runtime/samples/oncreate-async-arrow/_config.js index ce28992e0a..a5ed4ad14f 100644 --- a/test/runtime/samples/oncreate-async-arrow/_config.js +++ b/test/runtime/samples/oncreate-async-arrow/_config.js @@ -1,3 +1,3 @@ export default { - skip: +(/^v(\d)/.exec(process.version)[0]) < 8 + skip: +(/^v(\d)/.exec(process.version)[1]) < 8 }; diff --git a/test/runtime/samples/oncreate-async/_config.js b/test/runtime/samples/oncreate-async/_config.js index ce28992e0a..a5ed4ad14f 100644 --- a/test/runtime/samples/oncreate-async/_config.js +++ b/test/runtime/samples/oncreate-async/_config.js @@ -1,3 +1,3 @@ export default { - skip: +(/^v(\d)/.exec(process.version)[0]) < 8 + skip: +(/^v(\d)/.exec(process.version)[1]) < 8 };