Highlight und neue ID
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { defineConfig } from "cypress";
|
||||
import dsv from "@rollup/plugin-dsv"
|
||||
|
||||
import { prisma } from "./src/lib/server/prisma"
|
||||
import { fileURLToPath } from "url";
|
||||
import vitePreprocessor from "cypress-vite";
|
||||
|
||||
@@ -18,6 +18,7 @@ export default defineConfig({
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
".prisma/client/index-browser": fileURLToPath(new URL("./node_modules/.prisma/client/index-browser.js", import.meta.url)),
|
||||
"#": fileURLToPath(new URL("./src", import.meta.url)),
|
||||
"#components": fileURLToPath(new URL("./src/components", import.meta.url)),
|
||||
"#lib": fileURLToPath(new URL("./src/lib", import.meta.url))
|
||||
@@ -31,6 +32,11 @@ export default defineConfig({
|
||||
},
|
||||
plugins: [dsv()]
|
||||
}))
|
||||
on("task", {
|
||||
async verbrauchsausweisWohnen(query) {
|
||||
return await prisma.verbrauchsausweisWohnen.findFirst(query)
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
component: {
|
||||
|
||||
Reference in New Issue
Block a user