Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

test: refresh video and Slack fixtures

Richie McIlroydd1ae5293866
diff --git a/apps/web/__tests__/unit/media-processing-workflows.test.ts b/apps/web/__tests__/unit/media-processing-workflows.test.ts
index 2f789c88c..57deff5af 100644
--- a/apps/web/__tests__/unit/media-processing-workflows.test.ts
+++ b/apps/web/__tests__/unit/media-processing-workflows.test.ts
@@ -74,7 +74,12 @@ const payload = {
bucketId: null,
loomVideoId: "loom-video",
};
-const video = { id: "video", createdAt: new Date(), updatedAt: new Date() };
+const video = {
+ id: "video",
+ source: { type: "webMP4" },
+ createdAt: new Date(),
+ updatedAt: new Date(),
+};
const metadata = { duration: 30, width: 1920, height: 1080, fps: 30 };
const pending = { phase: "processing", processingProgress: 25 };
diff --git a/apps/web/__tests__/unit/slack-app-manifest.test.ts b/apps/web/__tests__/unit/slack-app-manifest.test.ts
index 2d3a17e61..ee8bd0bff 100644
--- a/apps/web/__tests__/unit/slack-app-manifest.test.ts
+++ b/apps/web/__tests__/unit/slack-app-manifest.test.ts
@@ -32,7 +32,7 @@ describe("Slack app manifest", () => {
expect(manifest.display_information).toMatchObject({
description: "Use Cap directly inside Slack.",
- background_color: "#4785FF",
+ background_color: "#1e60e6",
});
expect(manifest.features.unfurl_domains).toEqual(["cap.so", "cap.link"]);
expect(manifest.oauth_config.scopes.bot).toEqual([