Skip to content

Commit

Permalink
Merge pull request #85 from wildpeaks/features/fix-package-readme
Browse files Browse the repository at this point in the history
Fix missing README.md
  • Loading branch information
cecilemuller authored Feb 1, 2021
2 parents 8ad8668 + ecb9f57 commit 1f9e0be
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -745,4 +745,10 @@ describe("Build", function () {
join(folder, "icon.png")
);
});
it("README.md", async function () {
await copy(
join(process.cwd(), "README.md"),
join(folder, "README.md")
);
});
});
5 changes: 5 additions & 0 deletions test/postbuild.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,9 @@ describe("Postbuild", () => {
const filepath = join(process.cwd(), "package/icon.png");
strictEqual(existsSync(filepath), true);
});

it("/package/README.md", function () {
const filepath = join(process.cwd(), "package/README.md");
strictEqual(existsSync(filepath), true);
});
});

0 comments on commit 1f9e0be

Please sign in to comment.