Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/generator-cli/src/__test__/replay-pure.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,8 @@ describe("parseCommitMessageForPR", () => {
describe("fernignore", () => {
it("REPLAY_FERNIGNORE_ENTRIES contains expected values", () => {
expect(REPLAY_FERNIGNORE_ENTRIES).toContain(".fern/replay.lock");
expect(REPLAY_FERNIGNORE_ENTRIES).toContain(".fern/replay.yml");
expect(REPLAY_FERNIGNORE_ENTRIES).toContain(".gitattributes");
expect(REPLAY_FERNIGNORE_ENTRIES.length).toBeGreaterThanOrEqual(3);
expect(REPLAY_FERNIGNORE_ENTRIES.length).toBeGreaterThanOrEqual(2);
});

it("creates .fernignore with entries when no file exists, returns true", async () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/generator-cli/src/replay/fernignore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { existsSync, readFileSync, writeFileSync } from "fs";
import { readFile, writeFile } from "fs/promises";
import { join } from "path";

export const REPLAY_FERNIGNORE_ENTRIES = [".fern/replay.lock", ".fern/replay.yml", ".gitattributes"];
export const REPLAY_FERNIGNORE_ENTRIES = [".fern/replay.lock", ".gitattributes"];

const GITATTRIBUTES_ENTRIES = [".fern/replay.lock linguist-generated=true"];

Expand Down
Loading