From 5539d43ebc8a641430ac1d3d76eeabd679638ecf Mon Sep 17 00:00:00 2001 From: Jacob Mischka Date: Wed, 7 Sep 2022 13:15:57 -0500 Subject: [PATCH] Add test for io.display.image --- src/examples/basic/index.ts | 2 +- {examples => src/examples}/static/fail.gif | Bin 2 files changed, 1 insertion(+), 1 deletion(-) rename {examples => src/examples}/static/fail.gif (100%) diff --git a/src/examples/basic/index.ts b/src/examples/basic/index.ts index 07bca73..8724d95 100644 --- a/src/examples/basic/index.ts +++ b/src/examples/basic/index.ts @@ -325,7 +325,7 @@ const interval = new Interval({ width: 'medium', }), io.display.image('Image via buffer', { - buffer: fs.readFileSync('./examples/static/fail.gif'), + buffer: fs.readFileSync('./src/examples/static/fail.gif'), alt: 'Wile E. Coyote pulls a rope to launch a boulder from a catapult but it topples backwards and crushes him', }), ]) diff --git a/examples/static/fail.gif b/src/examples/static/fail.gif similarity index 100% rename from examples/static/fail.gif rename to src/examples/static/fail.gif