mirror of
https://github.com/ptarmiganlabs/butler-sos.git
synced 2025-12-19 17:58:18 -05:00
Update src/lib/__tests__/file-prep.test.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -272,7 +272,7 @@ describe('file-prep', () => {
|
||||
|
||||
// Test binary content stream
|
||||
path.extname.mockReturnValue('.png');
|
||||
const binaryBuffer = Buffer.from([0x89, 0x50, 0x4e, 0x47]); // PNG header
|
||||
const binaryBuffer = Buffer.from([0x89, 0x50, 0x4E, 0x47]); // PNG header
|
||||
fs.readFileSync.mockReturnValue(binaryBuffer);
|
||||
|
||||
const binaryResult = await prepareFile('/test/image.png');
|
||||
|
||||
Reference in New Issue
Block a user