generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from BoyWithSilverWings/feature/test-emojis
try party emoji
- Loading branch information
Showing
5 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,8 +61,12 @@ describe("Generate HTML", () => { | |
|
||
it("process emojis", () => { | ||
const result = generateHtml({ | ||
imageUrl: "😍" | ||
imageUrl: "😍", | ||
title: "Generating open graph images with Github Actions", | ||
subtitle: "Works with Markdown files", | ||
componentUrl: "https://unpkg.com/@agney/[email protected]" | ||
}); | ||
console.log(result); | ||
expect(result.includes(`class="emoji"`)).toBe(true); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ inputs: | |
default: "#000000" | ||
componentUrl: | ||
description: "URL for web component" | ||
default: "https://unpkg.com/@agney/[email protected].2" | ||
default: "https://unpkg.com/@agney/[email protected].3" | ||
fontSize: | ||
description: "Font size for the root" | ||
default: "100%" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.