Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix the tests

Kiran K2cf6a8252918
diff --git a/apps/web/tests/links/create-link-error.test.ts b/apps/web/tests/links/create-link-error.test.ts
index 4bf94ce775..a7171010f5 100644
--- a/apps/web/tests/links/create-link-error.test.ts
+++ b/apps/web/tests/links/create-link-error.test.ts
@@ -55,7 +55,7 @@ const cases = [
code: "unprocessable_entity",
message: "Invalid tagIds detected: invalid",
doc_url:
- "https://dub.co/docs/api-reference/errors#unprocessable-entity",
+ "https://dub.co/docs/api-reference/errors#unprocessable_entity",
},
},
},
diff --git a/apps/web/tests/tags/create-tag-error.test.ts b/apps/web/tests/tags/create-tag-error.test.ts
index f6ac6ccb72..aef6fab604 100644
--- a/apps/web/tests/tags/create-tag-error.test.ts
+++ b/apps/web/tests/tags/create-tag-error.test.ts
@@ -17,7 +17,7 @@ const cases = [
message:
"invalid_enum_value: color: Invalid color. Must be one of: red, yellow, green, blue, purple, pink, brown",
doc_url:
- "https://dub.co/docs/api-reference/errors#unprocessable_entity",
+ "https://dub.co/docs/api-reference/errors#unprocessable-entity",
},
},
},
@@ -34,7 +34,7 @@ const cases = [
code: "unprocessable_entity",
message: "invalid_type: tag: Required",
doc_url:
- "https://dub.co/docs/api-reference/errors#unprocessable_entity",
+ "https://dub.co/docs/api-reference/errors#unprocessable-entity",
},
},
},