Skip to content

Commit

Permalink
test(prisma): update test setup and clean up gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
xcfox committed Dec 11, 2024
1 parent 6fe141e commit 235b1fb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"**/dist/**/*",
"website/doc_build/",
"**/generated/**/*",
"packages/prisma/test/client/**/*",
"coverage/"
]
},
Expand Down
3 changes: 2 additions & 1 deletion packages/prisma/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ node_modules
/prisma/dev.db*
/prisma/migrations
/generated
/test/client
/test/client
/test/generated
2 changes: 1 addition & 1 deletion packages/prisma/test/bobbin-resolver.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { weave } from "@gqloom/core"
import { PrismaClient } from "@prisma/client"
import { lexicographicSortSchema, printSchema, printType } from "graphql"
import { createYoga } from "graphql-yoga"
import { beforeAll, beforeEach, describe, expect, it } from "vitest"
import { PrismaModelBobbin } from "../src"
import { PrismaClient } from "./client"
import * as p from "./generated"

describe("Bobbin Resolver", () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/prisma/test/bobbin.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { type StandardSchemaV1, loom, weave } from "@gqloom/core"
import { ZodWeaver, asInputArgs } from "@gqloom/zod"
import { PrismaClient } from "@prisma/client"
import { printSchema, printType } from "graphql"
import { createYoga } from "graphql-yoga"
import { beforeEach, describe, expect, expectTypeOf, it } from "vitest"
Expand All @@ -10,6 +9,7 @@ import {
PrismaModelBobbin,
type PrismaModelSilk,
} from "../src"
import { PrismaClient } from "./client"
import * as g from "./generated"

const { resolver, query } = loom
Expand Down

0 comments on commit 235b1fb

Please sign in to comment.