2
0

🏗️ Add compatibility with different prisma clients

This commit is contained in:
Baptiste Arnaud
2023-02-08 10:51:32 +01:00
parent c879c6f83a
commit caf54321ec
65 changed files with 942 additions and 211 deletions

View File

@ -6,15 +6,15 @@ import { importTypebotInDatabase } from 'utils/playwright/databaseActions'
import { typebotViewer } from 'utils/playwright/testHelpers'
import { getTestAsset } from '@/test/utils/playwright'
const mockSmtpCredentials: SmtpCredentialsData = {
export const mockSmtpCredentials: SmtpCredentialsData = {
from: {
email: 'ted.kreiger@ethereal.email',
name: 'Ted Kreiger',
email: 'sunny.cremin66@ethereal.email',
name: 'Sunny Cremin',
},
host: 'smtp.ethereal.email',
port: 587,
username: 'ted.kreiger@ethereal.email',
password: 'bFYFHfWjFxB9MK28zS',
username: 'sunny.cremin66@ethereal.email',
password: 'yJDHkf2bYbNydaRvTq',
}
test.beforeAll(async () => {

View File

@ -7,13 +7,13 @@ import { getTestAsset } from '@/test/utils/playwright'
const mockSmtpCredentials: SmtpCredentialsData = {
from: {
email: 'ted.kreiger@ethereal.email',
name: 'Ted Kreiger',
email: 'sunny.cremin66@ethereal.email',
name: 'Sunny Cremin',
},
host: 'smtp.ethereal.email',
port: 587,
username: 'ted.kreiger@ethereal.email',
password: 'bFYFHfWjFxB9MK28zS',
username: 'sunny.cremin66@ethereal.email',
password: 'yJDHkf2bYbNydaRvTq',
}
test.beforeAll(async () => {