feat(inputs): ✨ Add text options
This commit is contained in:
@ -15,6 +15,9 @@ export const seedDb = async () => {
|
||||
return createAnswers()
|
||||
}
|
||||
|
||||
export const createTypebot = (typebot: Typebot) =>
|
||||
prisma.typebot.create({ data: typebot as any })
|
||||
|
||||
const createUsers = () =>
|
||||
prisma.user.createMany({
|
||||
data: [
|
||||
|
@ -3,7 +3,7 @@ import {
|
||||
FacebookSocialLogin,
|
||||
GoogleSocialLogin,
|
||||
} from 'cypress-social-logins/src/Plugins'
|
||||
import { seedDb } from './database'
|
||||
import { createTypebot, seedDb } from './database'
|
||||
/// <reference types="cypress" />
|
||||
|
||||
/**
|
||||
@ -16,6 +16,7 @@ const handler = (on: any) => {
|
||||
FacebookSocialLogin: FacebookSocialLogin,
|
||||
GitHubSocialLogin: GitHubSocialLogin,
|
||||
seed: seedDb,
|
||||
createTypebot,
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user