chore: fix all esm test suite imports

This commit is contained in:
Alessio Gravili
2024-03-08 14:42:24 -05:00
parent bb10ed5b7d
commit 8895f6420f
245 changed files with 913 additions and 918 deletions

View File

@@ -4,12 +4,12 @@ import { expect, test } from '@playwright/test'
import path from 'path'
import { fileURLToPath } from 'url'
import type { Page as PayloadPage } from './payload-types'
import type { Page as PayloadPage } from './payload-types.js'
import payload from '../../packages/payload/src'
import { initPageConsoleErrorCatch } from '../helpers'
import { AdminUrlUtil } from '../helpers/adminUrlUtil'
import { initPayloadE2E } from '../helpers/configHelpers'
import payload from '../../packages/payload/src/index.js'
import { initPageConsoleErrorCatch } from '../helpers.js'
import { AdminUrlUtil } from '../helpers/adminUrlUtil.js'
import { initPayloadE2E } from '../helpers/configHelpers.js'
const filename = fileURLToPath(import.meta.url)
const dirname = path.dirname(filename)