aboutsummaryrefslogtreecommitdiff
path: root/playwright.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'playwright.config.js')
-rw-r--r--playwright.config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/playwright.config.js b/playwright.config.js
index 11d79e72..acb3e1af 100644
--- a/playwright.config.js
+++ b/playwright.config.js
@@ -15,7 +15,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
// @ts-check
-const {defineConfig, devices} = require('@playwright/test');
+import {defineConfig, devices} from '@playwright/test';
/**
* Read environment variables from file.
@@ -26,7 +26,7 @@ const {defineConfig, devices} = require('@playwright/test');
/**
* @see https://playwright.dev/docs/test-configuration
*/
-module.exports = defineConfig({
+export default defineConfig({
testDir: './test/playwright',
snapshotPathTemplate: '{testDir}/__screenshots__/{testFilePath}/{arg}{ext}',
/* Maximum time one test can run for. */