1
0
Fork 0
mirror of synced 2024-09-08 21:51:58 +12:00

Fix more tests

This commit is contained in:
Adria Navarro 2023-09-08 10:12:46 +02:00
parent f8adbb86a0
commit 2c6df74755

View file

@ -503,7 +503,7 @@ describe.each([
describe("patch", () => {
it("should update only the fields that are supplied", async () => {
const existing = await config.createRow()
const existing = await createRow()
const rowUsage = await getRowUsage()
const queryUsage = await getQueryUsage()
@ -530,7 +530,7 @@ describe.each([
})
it("should throw an error when given improper types", async () => {
const existing = await config.createRow()
const existing = await createRow()
const rowUsage = await getRowUsage()
const queryUsage = await getQueryUsage()
@ -552,7 +552,7 @@ describe.each([
describe("destroy", () => {
it("should be able to delete a row", async () => {
const createdRow = await config.createRow(row)
const createdRow = await createRow(row)
const rowUsage = await getRowUsage()
const queryUsage = await getQueryUsage()