From d0ecfbac91e46cd7a2af964a066170d269c57f13 Mon Sep 17 00:00:00 2001 From: Ciaran Welch Date: Wed, 19 Jun 2024 19:18:11 +1000 Subject: [PATCH] More module stuff --- .github/workflows/runtests.js.yml | 4 ++-- .../{MeetingSeries-test.js => MeetingSeries-test.mjs} | 5 ++--- ...{MeetingSeriesEdit-test.js => MeetingSeriesEdit-test.mjs} | 0 3 files changed, 4 insertions(+), 5 deletions(-) rename tests/end2end/{MeetingSeries-test.js => MeetingSeries-test.mjs} (98%) rename tests/end2end/{MeetingSeriesEdit-test.js => MeetingSeriesEdit-test.mjs} (100%) diff --git a/.github/workflows/runtests.js.yml b/.github/workflows/runtests.js.yml index ad11af06c..2b1cb9c60 100644 --- a/.github/workflows/runtests.js.yml +++ b/.github/workflows/runtests.js.yml @@ -50,8 +50,8 @@ jobs: fail-fast: true # When set to true, GitHub cancels all in-progress jobs if any matrix job fails. Default: true matrix: # max. 20 concurrent jobs https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#usage-limits e2etest: - - MeetingSeries-test.js - - MeetingSeriesEdit-test.js + - MeetingSeries-test.mjs + - MeetingSeriesEdit-test.mjs steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/tests/end2end/MeetingSeries-test.js b/tests/end2end/MeetingSeries-test.mjs similarity index 98% rename from tests/end2end/MeetingSeries-test.js rename to tests/end2end/MeetingSeries-test.mjs index af1ec6808..d37ae2b69 100644 --- a/tests/end2end/MeetingSeries-test.js +++ b/tests/end2end/MeetingSeries-test.mjs @@ -1,6 +1,5 @@ -require("./helpers/Server"); -require("./helpers/wdio_v4_to_v5"); - +import "./helpers/Server"; +import "./helpers/wdio_v4_to_v5"; import { E2EGlobal } from "./helpers/E2EGlobal"; import { E2EApp } from "./helpers/E2EApp"; import { E2EMeetingSeries } from "./helpers/E2EMeetingSeries"; diff --git a/tests/end2end/MeetingSeriesEdit-test.js b/tests/end2end/MeetingSeriesEdit-test.mjs similarity index 100% rename from tests/end2end/MeetingSeriesEdit-test.js rename to tests/end2end/MeetingSeriesEdit-test.mjs