From 468458a092a0e4d3781b8ba2622aed4f7ab2c3ff Mon Sep 17 00:00:00 2001 From: Adam Laker Illoul <85499621+Ademsk1@users.noreply.github.com> Date: Thu, 19 Oct 2023 17:37:09 +0100 Subject: [PATCH] fix: remove .js suffix on import --- index.ts | 2 +- plugin/Authentication.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index e842c13..a8e4ecc 100644 --- a/index.ts +++ b/index.ts @@ -7,7 +7,7 @@ import type { PlaywrightWorkerArgs, PlaywrightWorkerOptions } from '@playwright/test' -import { Authentication } from './plugin/Authentication.js' +import { Authentication } from './plugin/Authentication' export type Credentials = { auth: Authentication diff --git a/plugin/Authentication.ts b/plugin/Authentication.ts index 30bb3fc..99fc884 100644 --- a/plugin/Authentication.ts +++ b/plugin/Authentication.ts @@ -3,7 +3,7 @@ import type { FirebaseApp, FirebaseOptions } from 'firebase/app' import type { Auth, User } from 'firebase/auth' import type { Page } from '@playwright/test' -import { addFirebaseScript, getToken } from './auth.setup.js' +import { addFirebaseScript, getToken } from './auth.setup' // Since these are declared in browser modules, it's hard to understand what the types should be. // As such we're defining what shape we're expecting.