1
0
Fork 0
mirror of synced 2024-09-28 07:11:40 +12:00

Merge pull request #13305 from Budibase/test/flaky-test

Fix unit test flakiness
This commit is contained in:
Adria Navarro 2024-03-20 11:24:23 +01:00 committed by GitHub
commit b993569535
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,6 +19,7 @@ import env from "../../../environment"
import { type App } from "@budibase/types"
import tk from "timekeeper"
import * as uuid from "uuid"
import { structures } from "@budibase/backend-core/tests"
describe("/applications", () => {
let config = setup.getConfig()
@ -356,7 +357,7 @@ describe("/applications", () => {
it("should reject an unknown app id with a 404", async () => {
await config.api.application.duplicateApp(
app.appId.slice(0, -1) + "a",
structures.db.id(),
{
name: "to-dupe 123",
url: "/to-dupe-123",