Skip to content

🎥 Make videos programmatically with React

Update sanitize-file-path.test.ts

Jonny Burger9df098763de5
diff --git a/packages/renderer/src/test/sanitize-file-path.test.ts b/packages/renderer/src/test/sanitize-file-path.test.ts
index 899913b5d8..41b1530ece 100644
--- a/packages/renderer/src/test/sanitize-file-path.test.ts
+++ b/packages/renderer/src/test/sanitize-file-path.test.ts
@@ -4,6 +4,7 @@ test('sanitizeFilePath linux', () => {
if (process.platform === 'win32') {
return;
}
+
expect(sanitizeFilePath('/path/to/path')).toBe('/path/to/path');
expect(sanitizeFilePath('\\path\\to\\path')).toBe('/path/to/path');
});
@@ -12,5 +13,6 @@ test('sanitizeFilePath windows', () => {
if (process.platform !== 'win32') {
return;
}
+
expect(sanitizeFilePath('/path/to/path')).toBe('\\path\\to\\path');
});