24 lines
526 B
TypeScript
24 lines
526 B
TypeScript
import type { Prisma, Post } from '@prisma/client'
|
|
import type { ScenarioData } from '@redwoodjs/testing/api'
|
|
|
|
export const standard = defineScenario<Prisma.PostCreateArgs>({
|
|
post: {
|
|
one: {
|
|
data: {
|
|
title: 'String',
|
|
body: 'String',
|
|
updatedAt: '2024-10-04T07:38:59.006Z',
|
|
},
|
|
},
|
|
two: {
|
|
data: {
|
|
title: 'String',
|
|
body: 'String',
|
|
updatedAt: '2024-10-04T07:38:59.006Z',
|
|
},
|
|
},
|
|
},
|
|
})
|
|
|
|
export type StandardScenario = ScenarioData<Post, 'post'>
|