Skip to content

Commit

Permalink
Update image.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
rustdevbtw authored Oct 31, 2023
1 parent 2567d58 commit ac7de18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/image.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Image, Font } from "../mod.ts";
let font = new Font("https://github.com/Zype-Z/ShareImage.js/raw/main/assets/fonts/sirin-stencil.ttf");
let img = new Image("https://res.cloudinary.com/zype/image/upload/regraphic");
await img.init();
await font.init()

await img.text("Hello, World!", 64, 480, 254, font);
await img.text("Hello, Tagline!", 64, 480, 300, font);
Expand Down

0 comments on commit ac7de18

Please sign in to comment.