Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit

Permalink
test(bluesky): allow to disable post backdating
Browse files Browse the repository at this point in the history
  • Loading branch information
louisgrasset committed Oct 4, 2024
1 parent aa95dce commit fbeb567
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ vi.mock("../../constants", () => ({
SYNC_BLUESKY: true,
SYNC_MASTODON: true,
TWITTER_HANDLE: "username",
BACKDATE_BLUESKY_POSTS: true,
}));

describe("buildConfigurationRules", () => {
Expand Down
1 change: 1 addition & 0 deletions src/services/__tests__/bluesky-sender.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { makeTweetMock } from "./helpers/make-tweet-mock";
vi.mock("../../constants", () => ({
DEBUG: false,
BLUESKY_MEDIA_MAX_SIZE_BYTES: 976560,
BACKDATE_BLUESKY_POSTS: true,
}));
vi.mock("../../helpers/cache/save-post-to-cache", () => ({
savePostToCache: vi.fn().mockImplementation(() => Promise.resolve()),
Expand Down

0 comments on commit fbeb567

Please sign in to comment.