You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to test my schema i get this error from the nexus-prisma/scalars module.
I'm using nexusnexus-prisma and apollo-server-express and I'm testing with jest and ts-jest
import{join}from"path";import*astypesfrom"./definitions";import{makeSchema}from"nexus";import{DateTime}from"nexus-prisma/scalars";exportconstschema=makeSchema({// `NexusPrismaScalars` is for supporting the `DateTime` typetypes: [types,DateTime],// Where the generated files are placedoutputs: {typegen: join(__dirname,"node_modules/@types/nexus-typegen/index.d.ts"),schema: join(__dirname,"./schema.graphql"),},sourceTypes: {modules: [{module: ".prisma/client",alias: "PrismaClient"}],},contextType: {module: join(__dirname,"context.ts"),export: "Context",},});
Screenshot
Description
Trying to test my schema i get this error from the
nexus-prisma/scalars
module.I'm using
nexus
nexus-prisma
andapollo-server-express
and I'm testing withjest
andts-jest
Versions:
Here is my
schema.ts
fileAnd this is my
jest.config.js
Repro Steps/Link
-Make any
nexus-prisma
project that hasNexusPrismaScalars
in types array.-run tests with jest
The text was updated successfully, but these errors were encountered: